diff --git a/stdlib/@tests/stubtest_allowlists/darwin-py313.txt b/stdlib/@tests/stubtest_allowlists/darwin-py313.txt index b58da34e1fe2..93aba7894772 100644 --- a/stdlib/@tests/stubtest_allowlists/darwin-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/darwin-py313.txt @@ -1,6 +1,3 @@ -# new in py313 -posixpath.splitroot - # Depends on HAVE_NCURSESW and how we install CPython, # should be removed when 3.13 will be officially released: _?curses.unget_wch diff --git a/stdlib/@tests/stubtest_allowlists/linux-py313.txt b/stdlib/@tests/stubtest_allowlists/linux-py313.txt deleted file mode 100644 index e76c72d2ca32..000000000000 --- a/stdlib/@tests/stubtest_allowlists/linux-py313.txt +++ /dev/null @@ -1,2 +0,0 @@ -# TODO: triage these (new in py313) -posixpath.splitroot diff --git a/stdlib/@tests/stubtest_allowlists/py313.txt b/stdlib/@tests/stubtest_allowlists/py313.txt index 8ddbb8fe3089..11898e22104d 100644 --- a/stdlib/@tests/stubtest_allowlists/py313.txt +++ b/stdlib/@tests/stubtest_allowlists/py313.txt @@ -4,7 +4,6 @@ # TODO: triage these new errors _tkinter.create -os.path.splitroot tkinter.Misc.after_info tkinter.Misc.busy tkinter.Misc.busy_cget @@ -25,6 +24,11 @@ tkinter.Misc.tk_busy_status tkinter.Text.count tkinter.Wm.wm_attributes +# Name of the "p" parameter changed to "path", but is +# expected to get changed back in 3.13.1: +# https://github.com/python/cpython/pull/124097 +(os\.path|ntpath|posixpath)\.splitroot + # ====================================== # Pre-existing errors from Python <=3.12 # ====================================== diff --git a/stdlib/@tests/stubtest_allowlists/win32-py313.txt b/stdlib/@tests/stubtest_allowlists/win32-py313.txt index 1f2749e76735..461872c053e8 100644 --- a/stdlib/@tests/stubtest_allowlists/win32-py313.txt +++ b/stdlib/@tests/stubtest_allowlists/win32-py313.txt @@ -1,11 +1,8 @@ -# New in py313 (triage these!) -ntpath.exists -ntpath.lexists -ntpath.splitroot -os.path.exists -os.path.lexists - # Undocumented internal method, not really for public consumption. # (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 + +# Argument was made keyword-only, may be fixed in 3.13.1 +# https://github.com/python/cpython/issues/124917 +(os\.path|ntpath)\.l?exists