mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-07 10:20:58 +08:00
Add various missing os constants (#6753)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user