Add a few missing things on Windows, py310+ (#10817)

This commit is contained in:
Alex Waygood
2023-10-01 23:30:44 +01:00
committed by GitHub
parent 3eb9ff7f65
commit efa7a51d09
6 changed files with 13 additions and 14 deletions

View File

@@ -1,6 +1,3 @@
# Exists at runtime, but missing from stubs
msvcrt.GetErrorMode
# pathlib methods that exist on Windows, but always raise NotImplementedError,
# so are omitted from the stub
pathlib.Path.is_mount

View File

@@ -1,8 +1,3 @@
# Exists at runtime, missing from the stubs
asyncio.IocpProactor.recvfrom_into
asyncio.windows_events.IocpProactor.recvfrom_into
msvcrt.GetErrorMode
# pathlib methods that exist on Windows, but always raise NotImplementedError,
# so are omitted from the stub
pathlib.Path.is_mount

View File

@@ -1,8 +1,8 @@
_winapi.NeedCurrentDirectoryForExePath
asyncio.IocpProactor.finish_socket_func
asyncio.IocpProactor.recvfrom_into
asyncio.windows_events.IocpProactor.finish_socket_func
asyncio.windows_events.IocpProactor.recvfrom_into
msvcrt.GetErrorMode
# CPython bug; waiting on https://github.com/python/cpython/pull/109790 to be backported
ntpath.isdir
os.path.isdir
# 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