From 30d91bfe74cd29f2e238a97ed859bb81759b4c49 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 7 Sep 2023 02:21:23 +0100 Subject: [PATCH 1/3] Delete unused allowlist entries Fixes the stdlib parts of #10675 --- tests/stubtest_allowlists/py312.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/stubtest_allowlists/py312.txt b/tests/stubtest_allowlists/py312.txt index c37604854423..9ea79b13b5cb 100644 --- a/tests/stubtest_allowlists/py312.txt +++ b/tests/stubtest_allowlists/py312.txt @@ -132,7 +132,3 @@ typing.SupportsAbs.__type_params__ typing.SupportsRound.__type_params__ typing_extensions.SupportsAbs.__type_params__ typing_extensions.SupportsRound.__type_params__ - -# These two should be removable after 3.12rc2 is released: -types.CodeType.replace # stubtest thinks default values are None but None doesn't work at runtime -os.lseek # a pos-only parameter name changed in py311/py312 From 931744131f5fe115922269c10853c14d5c102bfb Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 7 Sep 2023 02:22:33 +0100 Subject: [PATCH 2/3] Update linux-py312.txt --- tests/stubtest_allowlists/linux-py312.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/stubtest_allowlists/linux-py312.txt b/tests/stubtest_allowlists/linux-py312.txt index da263d35c34d..037d52529957 100644 --- a/tests/stubtest_allowlists/linux-py312.txt +++ b/tests/stubtest_allowlists/linux-py312.txt @@ -43,6 +43,3 @@ tty.__all__ tty.cfmakecbreak tty.cfmakeraw xxlimited.Xxo.x_exports - -# should be removable once 3.12.0rc2 is released: -posix.lseek From 53d1400fbedfe68aff4dfe7384c5de701585d9b5 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Thu, 7 Sep 2023 02:23:00 +0100 Subject: [PATCH 3/3] Update darwin-py312.txt --- tests/stubtest_allowlists/darwin-py312.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/stubtest_allowlists/darwin-py312.txt b/tests/stubtest_allowlists/darwin-py312.txt index 3c63d5b66008..83154dfbccc2 100644 --- a/tests/stubtest_allowlists/darwin-py312.txt +++ b/tests/stubtest_allowlists/darwin-py312.txt @@ -27,6 +27,3 @@ xxlimited.Xxo.x_exports (locale.dgettext)? (locale.gettext)? (locale.textdomain)? - -# should be removable once 3.12.0rc2 is released: -posix.lseek