From 9e033f3287dab7f6c2e9de69360731ab856ed66a Mon Sep 17 00:00:00 2001 From: Stephen Morton Date: Wed, 4 Dec 2024 12:56:12 -0800 Subject: [PATCH] allowlist updates for new patch releases of 3.12 and 3.13 (#13194) --- stdlib/@tests/stubtest_allowlists/darwin-py313.txt | 6 +++++- stdlib/@tests/stubtest_allowlists/linux-py313.txt | 8 -------- stdlib/@tests/stubtest_allowlists/py312.txt | 7 +++++++ stdlib/@tests/stubtest_allowlists/py313.txt | 9 ++++++++- stdlib/@tests/stubtest_allowlists/win32-py312.txt | 3 --- stdlib/@tests/stubtest_allowlists/win32-py313.txt | 13 ------------- 6 files changed, 20 insertions(+), 26 deletions(-) diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py313.txt b/stdlib/@tests/stubtest_allowlists/darwin-py313.txt index 75b2563b7..a28d6c091 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py313.txt @@ -2,10 +2,14 @@ # >= 3.13 # ======= +# TODO: New in 3.13.1 +_socket.SO_BINDTODEVICE +socket.__all__ +socket.SO_BINDTODEVICE + # Depends on HAVE_NCURSESW and how we install CPython, # should be removed when 3.13 will be officially released: _?curses.unget_wch _?curses.window.get_wch (mmap.MAP_32BIT)? # Exists locally on MacOS but not on GitHub -posixpath.splitroot diff --git a/stdlib/@tests/stubtest_allowlists/linux-py313.txt b/stdlib/@tests/stubtest_allowlists/linux-py313.txt index 91c7d6d49..046fd9e54 100644 --- a/stdlib/@tests/stubtest_allowlists/linux-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/linux-py313.txt @@ -1,11 +1,3 @@ -# ======= -# >= 3.13 -# ======= - -# TODO: triage these (new in py313) -posixpath.splitroot - - # ======= # >= 3.12 # ======= diff --git a/stdlib/@tests/stubtest_allowlists/py312.txt b/stdlib/@tests/stubtest_allowlists/py312.txt index 9ae160e7e..a2c20a83d 100644 --- a/stdlib/@tests/stubtest_allowlists/py312.txt +++ b/stdlib/@tests/stubtest_allowlists/py312.txt @@ -2,6 +2,13 @@ # New errors in Python 3.12 # ========================= +# TODO: New in 3.12.8 +argparse.ArgumentParser._parse_known_args +concurrent.futures.process._SafeQueue.__init__ +pickletools.read_stringnl +token.__all__ +tokenize.__all__ + # ======= # >= 3.12 diff --git a/stdlib/@tests/stubtest_allowlists/py313.txt b/stdlib/@tests/stubtest_allowlists/py313.txt index e84350421..d3c930b26 100644 --- a/stdlib/@tests/stubtest_allowlists/py313.txt +++ b/stdlib/@tests/stubtest_allowlists/py313.txt @@ -2,13 +2,20 @@ # New errors in Python 3.13 # ========================= +# TODO: New in 3.13.1 +argparse.ArgumentParser._parse_known_args +codeop.Compile.__call__ +concurrent.futures.process._SafeQueue.__init__ +pickletools.read_stringnl +token.__all__ +tokenize.__all__ + # ======= # >= 3.13 # ======= # TODO: triage these new errors -os.path.splitroot tkinter.Misc.busy tkinter.Misc.busy_cget tkinter.Misc.busy_config diff --git a/stdlib/@tests/stubtest_allowlists/win32-py312.txt b/stdlib/@tests/stubtest_allowlists/win32-py312.txt index 6ef61eea1..aa2a6d303 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py312.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py312.txt @@ -7,9 +7,6 @@ asyncio.IocpProactor.finish_socket_func asyncio.windows_events.IocpProactor.finish_socket_func -ntpath.exists -os.path.exists - # ========= # 3.12 only diff --git a/stdlib/@tests/stubtest_allowlists/win32-py313.txt b/stdlib/@tests/stubtest_allowlists/win32-py313.txt index 3e6950720..070fce3e9 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py313.txt @@ -1,13 +1,3 @@ -# ======= -# >= 3.13 -# ======= - -# New in py313 (triage these!) -ntpath.lexists -ntpath.splitroot -os.path.lexists - - # ======= # >= 3.12 # ======= @@ -16,6 +6,3 @@ os.path.lexists # (Hard to add types for unless we add stubs for the undocumented _overlapped module...) asyncio.IocpProactor.finish_socket_func asyncio.windows_events.IocpProactor.finish_socket_func - -ntpath.exists -os.path.exists