Add various missing os constants (#6753)

This commit is contained in:
Alex Waygood
2021-12-30 13:21:30 +00:00
committed by GitHub
parent 6ca1dad2a2
commit 496313d875
10 changed files with 48 additions and 96 deletions

View File

@@ -5,15 +5,4 @@ curses.color_pair
# Exists at runtime, but missing from stubs
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
os.CLD_KILLED
os.CLD_STOPPED
os.POSIX_SPAWN_CLOSE
os.POSIX_SPAWN_DUP2
os.POSIX_SPAWN_OPEN
mmap.MADV_FREE
posix.CLD_KILLED
posix.CLD_STOPPED
posix.POSIX_SPAWN_CLOSE
posix.POSIX_SPAWN_DUP2
posix.POSIX_SPAWN_OPEN

View File

@@ -1,11 +1,4 @@
_?curses.A_ITALIC
# Exists at runtime, but missing from stubs
os.POSIX_SPAWN_CLOSE
os.POSIX_SPAWN_DUP2
os.POSIX_SPAWN_OPEN
mmap.MADV_FREE
posix.POSIX_SPAWN_CLOSE
posix.POSIX_SPAWN_DUP2
posix.POSIX_SPAWN_OPEN

View File

@@ -3,15 +3,4 @@ _?curses.A_ITALIC
# Exists at runtime, but missing from stubs
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
os.CLD_KILLED
os.CLD_STOPPED
os.POSIX_SPAWN_CLOSE
os.POSIX_SPAWN_DUP2
os.POSIX_SPAWN_OPEN
mmap.MADV_FREE
posix.CLD_KILLED
posix.CLD_STOPPED
posix.POSIX_SPAWN_CLOSE
posix.POSIX_SPAWN_DUP2
posix.POSIX_SPAWN_OPEN

View File

@@ -46,8 +46,6 @@ distutils.msvccompiler.MSVCCompiler.get_msvc_paths
distutils.msvccompiler.MSVCCompiler.set_path_env_var
distutils.msvccompiler.MacroExpander
mimetypes.MimeTypes.read_windows_registry
os.ST_NOSUID
os.ST_RDONLY
selectors.DefaultSelector.fileno
socket.AddressInfo.AI_DEFAULT
socket.AddressInfo.AI_MASK

View File

@@ -21,20 +21,9 @@ select.epoll.register
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
mmap.MAP_POPULATE
os.CLD_KILLED
os.CLD_STOPPED
os.EFD_CLOEXEC
os.EFD_NONBLOCK
os.EFD_SEMAPHORE
os.POSIX_SPAWN_CLOSE
os.POSIX_SPAWN_DUP2
os.POSIX_SPAWN_OPEN
os.P_PIDFD
os.RWF_APPEND
os.RWF_DSYNC
os.RWF_HIPRI
os.RWF_NOWAIT
os.RWF_SYNC
os.SPLICE_F_MORE
os.SPLICE_F_MOVE
os.SPLICE_F_NONBLOCK
@@ -43,22 +32,13 @@ os.eventfd
os.eventfd_read
os.eventfd_write
os.pidfd_open
os.preadv
os.pwritev
os.splice
posix.CLD_KILLED
posix.CLD_STOPPED
posix.EFD_[A-Z]+
posix.P_PIDFD
posix.POSIX_SPAWN_[A-Z0-9]+
posix.RWF_[A-Z]+
posix.SPLICE_[A-Z_]+
posix.copy_file_range
posix.eventfd
posix.eventfd_read
posix.eventfd_write
posix.pidfd_open
posix.preadv
posix.pwritev
posix.splice
time.pthread_getcpuclockid

View File

@@ -3,13 +3,4 @@ ftplib.FTP.trust_server_pasv_ipv4_address # Dangerous to use, intentionally und
pwd.getpwnam
# Exists at runtime, but missing from stubs
os.RWF_DSYNC
os.RWF_HIPRI
os.RWF_NOWAIT
os.RWF_SYNC
os.preadv
os.pwritev
posix.RWF_[A-Z]+
posix.preadv
posix.pwritev
time.pthread_getcpuclockid

View File

@@ -1,19 +1,6 @@
select.epoll.register
# Exists at runtime, but missing from stubs
os.POSIX_SPAWN_CLOSE
os.POSIX_SPAWN_DUP2
os.POSIX_SPAWN_OPEN
os.RWF_DSYNC
os.RWF_HIPRI
os.RWF_NOWAIT
os.RWF_SYNC
os.copy_file_range
os.preadv
os.pwritev
posix.POSIX_SPAWN_[A-Z0-9]+
posix.RWF_[A-Z]+
posix.copy_file_range
posix.preadv
posix.pwritev
time.pthread_getcpuclockid

View File

@@ -4,27 +4,8 @@ select.epoll.register
# Exists at runtime, but missing from stubs
asyncio.PidfdChildWatcher
asyncio.unix_events.PidfdChildWatcher
os.CLD_KILLED
os.CLD_STOPPED
os.POSIX_SPAWN_CLOSE
os.POSIX_SPAWN_DUP2
os.POSIX_SPAWN_OPEN
os.P_PIDFD
os.RWF_DSYNC
os.RWF_HIPRI
os.RWF_NOWAIT
os.RWF_SYNC
os.copy_file_range
os.pidfd_open
os.preadv
os.pwritev
posix.CLD_KILLED
posix.CLD_STOPPED
posix.P_PIDFD
posix.POSIX_SPAWN_[A-Z0-9]+
posix.RWF_[A-Z]+
posix.copy_file_range
posix.pidfd_open
posix.preadv
posix.pwritev
time.pthread_getcpuclockid