Fix availability of some constants for Windows (#10818)

This commit is contained in:
Alex Waygood
2023-10-02 00:27:55 +01:00
committed by GitHub
parent efa7a51d09
commit 205cfcfca6
5 changed files with 8 additions and 11 deletions

View File

@@ -1,16 +1,11 @@
ctypes.GetLastError # Is actually a pointer
locale.[A-Z0-9_]+ # Constants that should be moved to _locale and re-exported conditionally
locale.nl_langinfo # Function that should be moved to _locale and re-exported conditionally
mmap.PAGESIZE
# alias for a class defined elsewhere,
# mypy infers the variable has type `(*args) -> DupHandle` but stubtest infers the runtime type as <class DupHandle>
multiprocessing.reduction.AbstractReducer.DupHandle
msilib.text.dirname
msvcrt.CRT_ASSEMBLY_VERSION
selectors.KqueueSelector
signal.SIGEMT
signal.SIGINFO
winsound.SND_APPLICATION
# Exists at runtime, but missing from stubs
_msi.MSIError