mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 16:14:24 +08:00
add several re-exports to posix (#6495)
This commit is contained in:
@@ -14,5 +14,3 @@ os.CLD_STOPPED
|
||||
os.POSIX_SPAWN_CLOSE
|
||||
os.POSIX_SPAWN_DUP2
|
||||
os.POSIX_SPAWN_OPEN
|
||||
posix.register_at_fork
|
||||
posix.waitstatus_to_exitcode
|
||||
|
||||
@@ -4,4 +4,3 @@ pwd.getpwnam
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
ftplib.FTP.trust_server_pasv_ipv4_address
|
||||
posix.register_at_fork
|
||||
|
||||
@@ -4,4 +4,3 @@ _?curses.A_ITALIC
|
||||
os.POSIX_SPAWN_CLOSE
|
||||
os.POSIX_SPAWN_DUP2
|
||||
os.POSIX_SPAWN_OPEN
|
||||
posix.register_at_fork
|
||||
|
||||
@@ -12,5 +12,3 @@ os.CLD_STOPPED
|
||||
os.POSIX_SPAWN_CLOSE
|
||||
os.POSIX_SPAWN_DUP2
|
||||
os.POSIX_SPAWN_OPEN
|
||||
posix.register_at_fork
|
||||
posix.waitstatus_to_exitcode
|
||||
|
||||
@@ -12,7 +12,7 @@ os.EX_NOTFOUND
|
||||
os.SF_MNOWAIT
|
||||
os.SF_NODISKIO
|
||||
os.SF_SYNC
|
||||
os.sched_param # system dependent. Unclear if macos has it.
|
||||
(os|posix).sched_param # system dependent. Unclear if macos has it.
|
||||
posix.EX_NOTFOUND
|
||||
readline.append_history_file # not defined in macos
|
||||
select.KQ_FILTER_NETDEV # system dependent
|
||||
@@ -57,140 +57,15 @@ grp.struct_group.n_unnamed_fields
|
||||
mimetypes.MimeTypes.read_windows_registry
|
||||
os.ST_NOSUID
|
||||
os.ST_RDONLY
|
||||
os.uname_result.n_fields
|
||||
os.uname_result.n_sequence_fields
|
||||
os.uname_result.n_unnamed_fields
|
||||
posix.DirEntry
|
||||
posix.abort
|
||||
posix.access
|
||||
posix.chdir
|
||||
(os|posix).uname_result.n_fields
|
||||
(os|posix).uname_result.n_sequence_fields
|
||||
(os|posix).uname_result.n_unnamed_fields
|
||||
posix.chflags
|
||||
posix.chmod
|
||||
posix.chown
|
||||
posix.chroot
|
||||
posix.close
|
||||
posix.closerange
|
||||
posix.confstr
|
||||
posix.cpu_count
|
||||
posix.ctermid
|
||||
posix.device_encoding
|
||||
posix.dup
|
||||
posix.dup2
|
||||
posix.execv
|
||||
posix.execve
|
||||
posix.fchdir
|
||||
posix.fchmod
|
||||
posix.fchown
|
||||
posix.fork
|
||||
posix.forkpty
|
||||
posix.fpathconf
|
||||
posix.fspath
|
||||
posix.fstat
|
||||
posix.fstatvfs
|
||||
posix.fsync
|
||||
posix.ftruncate
|
||||
posix.get_blocking
|
||||
posix.get_inheritable
|
||||
posix.get_terminal_size
|
||||
posix.getcwd
|
||||
posix.getcwdb
|
||||
posix.getegid
|
||||
posix.geteuid
|
||||
posix.getgid
|
||||
posix.getgrouplist
|
||||
posix.getgroups
|
||||
posix.getloadavg
|
||||
posix.getlogin
|
||||
posix.getpgid
|
||||
posix.getpgrp
|
||||
posix.getpid
|
||||
posix.getppid
|
||||
posix.getpriority
|
||||
posix.getsid
|
||||
posix.getuid
|
||||
posix.initgroups
|
||||
posix.isatty
|
||||
posix.kill
|
||||
posix.killpg
|
||||
posix.lchflags
|
||||
posix.lchmod
|
||||
posix.lchown
|
||||
posix.link
|
||||
posix.lockf
|
||||
posix.lseek
|
||||
posix.lstat
|
||||
posix.major
|
||||
posix.makedev
|
||||
posix.minor
|
||||
posix.mkdir
|
||||
posix.mkfifo
|
||||
posix.mknod
|
||||
posix.nice
|
||||
posix.open
|
||||
posix.openpty
|
||||
posix.pathconf
|
||||
posix.pipe
|
||||
posix.pread
|
||||
posix.putenv
|
||||
posix.pwrite
|
||||
posix.read
|
||||
posix.readlink
|
||||
posix.readv
|
||||
posix.remove
|
||||
posix.rename
|
||||
posix.replace
|
||||
posix.rmdir
|
||||
posix.scandir
|
||||
posix.sched_get_priority_max
|
||||
posix.sched_get_priority_min
|
||||
posix.sched_yield
|
||||
posix.sendfile
|
||||
posix.set_blocking
|
||||
posix.set_inheritable
|
||||
posix.setegid
|
||||
posix.seteuid
|
||||
posix.setgid
|
||||
posix.setgroups
|
||||
posix.setpgid
|
||||
posix.setpgrp
|
||||
posix.setpriority
|
||||
posix.setregid
|
||||
posix.setreuid
|
||||
posix.setsid
|
||||
posix.setuid
|
||||
posix.stat
|
||||
posix.stat_result.n_fields
|
||||
posix.stat_result.n_sequence_fields
|
||||
posix.stat_result.n_unnamed_fields
|
||||
posix.statvfs
|
||||
posix.strerror
|
||||
posix.symlink
|
||||
posix.sync
|
||||
posix.sysconf
|
||||
posix.system
|
||||
posix.tcgetpgrp
|
||||
posix.tcsetpgrp
|
||||
posix.times
|
||||
posix.times_result.n_fields
|
||||
posix.times_result.n_sequence_fields
|
||||
posix.times_result.n_unnamed_fields
|
||||
posix.truncate
|
||||
posix.ttyname
|
||||
posix.umask
|
||||
posix.uname
|
||||
posix.uname_result.n_fields
|
||||
posix.uname_result.n_sequence_fields
|
||||
posix.uname_result.n_unnamed_fields
|
||||
posix.unlink
|
||||
posix.unsetenv
|
||||
posix.urandom
|
||||
posix.utime
|
||||
posix.wait
|
||||
posix.wait3
|
||||
posix.wait4
|
||||
posix.waitpid
|
||||
posix.write
|
||||
posix.writev
|
||||
resource.struct_rusage.n_fields
|
||||
resource.struct_rusage.n_sequence_fields
|
||||
resource.struct_rusage.n_unnamed_fields
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
_curses.color_pair
|
||||
curses.color_pair
|
||||
os.pipe2
|
||||
os.posix_fadvise
|
||||
os.posix_fallocate
|
||||
os.sched_getaffinity
|
||||
os.sched_getparam
|
||||
os.sched_getscheduler
|
||||
os.sched_rr_get_interval
|
||||
os.sched_setaffinity
|
||||
os.sched_setparam
|
||||
os.sched_setscheduler
|
||||
os.setresgid
|
||||
os.setresuid
|
||||
os.waitid
|
||||
os.sendfile
|
||||
(os|posix).posix_fadvise
|
||||
(os|posix).posix_fallocate
|
||||
(os|posix).sched_getaffinity
|
||||
(os|posix).sched_getparam
|
||||
(os|posix).sched_getscheduler
|
||||
(os|posix).sched_rr_get_interval
|
||||
(os|posix).sched_setaffinity
|
||||
(os|posix).sched_setparam
|
||||
(os|posix).sched_setscheduler
|
||||
(os|posix).setresgid
|
||||
(os|posix).setresuid
|
||||
(os|posix).waitid
|
||||
(os|posix).sendfile
|
||||
signal.sigtimedwait
|
||||
signal.sigwaitinfo
|
||||
select.epoll.register
|
||||
@@ -54,11 +54,8 @@ posix.copy_file_range
|
||||
posix.eventfd
|
||||
posix.eventfd_read
|
||||
posix.eventfd_write
|
||||
posix.memfd_create
|
||||
posix.pidfd_open
|
||||
posix.preadv
|
||||
posix.pwritev
|
||||
posix.register_at_fork
|
||||
posix.splice
|
||||
posix.waitstatus_to_exitcode
|
||||
time.pthread_getcpuclockid
|
||||
|
||||
@@ -11,5 +11,4 @@ os.preadv
|
||||
os.pwritev
|
||||
posix.preadv
|
||||
posix.pwritev
|
||||
posix.register_at_fork
|
||||
time.pthread_getcpuclockid
|
||||
|
||||
@@ -12,8 +12,6 @@ os.copy_file_range
|
||||
os.preadv
|
||||
os.pwritev
|
||||
posix.copy_file_range
|
||||
posix.memfd_create
|
||||
posix.preadv
|
||||
posix.pwritev
|
||||
posix.register_at_fork
|
||||
time.pthread_getcpuclockid
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
os.sendfile
|
||||
(os|posix).sendfile
|
||||
select.epoll.register
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
@@ -23,10 +23,7 @@ os.pidfd_open
|
||||
os.preadv
|
||||
os.pwritev
|
||||
posix.copy_file_range
|
||||
posix.memfd_create
|
||||
posix.pidfd_open
|
||||
posix.preadv
|
||||
posix.pwritev
|
||||
posix.register_at_fork
|
||||
posix.waitstatus_to_exitcode
|
||||
time.pthread_getcpuclockid
|
||||
|
||||
@@ -59,166 +59,19 @@ grp.struct_group.n_fields
|
||||
grp.struct_group.n_sequence_fields
|
||||
grp.struct_group.n_unnamed_fields
|
||||
mimetypes.MimeTypes.read_windows_registry
|
||||
os.sched_param.n_fields
|
||||
os.sched_param.n_sequence_fields
|
||||
os.sched_param.n_unnamed_fields
|
||||
os.uname_result.n_fields
|
||||
os.uname_result.n_sequence_fields
|
||||
os.uname_result.n_unnamed_fields
|
||||
os.waitid_result.n_fields
|
||||
os.waitid_result.n_sequence_fields
|
||||
os.waitid_result.n_unnamed_fields
|
||||
posix.DirEntry
|
||||
posix.abort
|
||||
posix.access
|
||||
posix.chdir
|
||||
posix.chmod
|
||||
posix.chown
|
||||
posix.chroot
|
||||
posix.close
|
||||
posix.closerange
|
||||
posix.confstr
|
||||
posix.cpu_count
|
||||
posix.ctermid
|
||||
posix.device_encoding
|
||||
posix.dup
|
||||
(os|posix).sched_param.n_fields
|
||||
(os|posix).sched_param.n_sequence_fields
|
||||
(os|posix).sched_param.n_unnamed_fields
|
||||
(os|posix).uname_result.n_fields
|
||||
(os|posix).uname_result.n_sequence_fields
|
||||
(os|posix).uname_result.n_unnamed_fields
|
||||
(os|posix).waitid_result.n_fields
|
||||
(os|posix).waitid_result.n_sequence_fields
|
||||
(os|posix).waitid_result.n_unnamed_fields
|
||||
posix.dup2
|
||||
posix.execv
|
||||
posix.execve
|
||||
posix.fchdir
|
||||
posix.fchmod
|
||||
posix.fchown
|
||||
posix.fdatasync
|
||||
posix.fork
|
||||
posix.forkpty
|
||||
posix.fpathconf
|
||||
posix.fspath
|
||||
posix.fstat
|
||||
posix.fstatvfs
|
||||
posix.fsync
|
||||
posix.ftruncate
|
||||
posix.get_blocking
|
||||
posix.get_inheritable
|
||||
posix.get_terminal_size
|
||||
posix.getcwd
|
||||
posix.getcwdb
|
||||
posix.getegid
|
||||
posix.geteuid
|
||||
posix.getgid
|
||||
posix.getgrouplist
|
||||
posix.getgroups
|
||||
posix.getloadavg
|
||||
posix.getlogin
|
||||
posix.getpgid
|
||||
posix.getpgrp
|
||||
posix.getpid
|
||||
posix.getppid
|
||||
posix.getpriority
|
||||
posix.getrandom
|
||||
posix.getresgid
|
||||
posix.getresuid
|
||||
posix.getsid
|
||||
posix.getuid
|
||||
posix.getxattr
|
||||
posix.initgroups
|
||||
posix.isatty
|
||||
posix.kill
|
||||
posix.killpg
|
||||
posix.lchown
|
||||
posix.link
|
||||
posix.listxattr
|
||||
posix.lockf
|
||||
posix.lseek
|
||||
posix.lstat
|
||||
posix.major
|
||||
posix.makedev
|
||||
posix.minor
|
||||
posix.mkdir
|
||||
posix.mkfifo
|
||||
posix.mknod
|
||||
posix.nice
|
||||
posix.open
|
||||
posix.openpty
|
||||
posix.pathconf
|
||||
posix.pipe
|
||||
posix.pipe2
|
||||
posix.posix_fadvise
|
||||
posix.posix_fallocate
|
||||
posix.pread
|
||||
posix.putenv
|
||||
posix.pwrite
|
||||
posix.read
|
||||
posix.readlink
|
||||
posix.readv
|
||||
posix.remove
|
||||
posix.removexattr
|
||||
posix.rename
|
||||
posix.replace
|
||||
posix.rmdir
|
||||
posix.scandir
|
||||
posix.sched_get_priority_max
|
||||
posix.sched_get_priority_min
|
||||
posix.sched_getaffinity
|
||||
posix.sched_getparam
|
||||
posix.sched_getscheduler
|
||||
posix.sched_param
|
||||
posix.sched_rr_get_interval
|
||||
posix.sched_setaffinity
|
||||
posix.sched_setparam
|
||||
posix.sched_setscheduler
|
||||
posix.sched_yield
|
||||
posix.sendfile
|
||||
posix.set_blocking
|
||||
posix.set_inheritable
|
||||
posix.setegid
|
||||
posix.seteuid
|
||||
posix.setgid
|
||||
posix.setgroups
|
||||
posix.setpgid
|
||||
posix.setpgrp
|
||||
posix.setpriority
|
||||
posix.setregid
|
||||
posix.setresgid
|
||||
posix.setresuid
|
||||
posix.setreuid
|
||||
posix.setsid
|
||||
posix.setuid
|
||||
posix.setxattr
|
||||
posix.stat
|
||||
posix.stat_result.n_fields
|
||||
posix.stat_result.n_sequence_fields
|
||||
posix.stat_result.n_unnamed_fields
|
||||
posix.statvfs
|
||||
posix.strerror
|
||||
posix.symlink
|
||||
posix.sync
|
||||
posix.sysconf
|
||||
posix.system
|
||||
posix.tcgetpgrp
|
||||
posix.tcsetpgrp
|
||||
posix.times
|
||||
posix.times_result.n_fields
|
||||
posix.times_result.n_sequence_fields
|
||||
posix.times_result.n_unnamed_fields
|
||||
posix.truncate
|
||||
posix.ttyname
|
||||
posix.umask
|
||||
posix.uname
|
||||
posix.uname_result.n_fields
|
||||
posix.uname_result.n_sequence_fields
|
||||
posix.uname_result.n_unnamed_fields
|
||||
posix.unlink
|
||||
posix.unsetenv
|
||||
posix.urandom
|
||||
posix.utime
|
||||
posix.wait
|
||||
posix.wait3
|
||||
posix.wait4
|
||||
posix.waitid
|
||||
posix.waitid_result
|
||||
posix.waitpid
|
||||
posix.write
|
||||
posix.writev
|
||||
resource.struct_rusage.n_fields
|
||||
resource.struct_rusage.n_sequence_fields
|
||||
resource.struct_rusage.n_unnamed_fields
|
||||
|
||||
@@ -31,7 +31,7 @@ ipaddress._BaseNetwork.__init__
|
||||
json.loads
|
||||
mmap.ACCESS_DEFAULT
|
||||
multiprocessing.shared_memory
|
||||
os.utime
|
||||
(os|posix).utime
|
||||
plistlib.Dict.__init__
|
||||
pyexpat.XMLParserType.ExternalEntityParserCreate # C signature is wrong - function gets only positional args
|
||||
random.Random.randrange # missing undocumented arg _int
|
||||
|
||||
@@ -36,7 +36,7 @@ importlib.metadata # Added in 3.8
|
||||
ipaddress._BaseNetwork.__init__
|
||||
json.loads
|
||||
multiprocessing.shared_memory
|
||||
os.utime
|
||||
(os|posix).utime
|
||||
pyexpat.XMLParserType.ExternalEntityParserCreate # C signature is wrong - function gets only positional args
|
||||
queue.SimpleQueue.__init__ # Default C __init__ signature is wrong
|
||||
random.Random.randrange # missing undocumented arg _int
|
||||
|
||||
@@ -571,15 +571,15 @@ multiprocessing.pool.Pool.Process
|
||||
multiprocessing.pool.ThreadPool.Process
|
||||
multiprocessing.reducer
|
||||
multiprocessing.synchronize.Semaphore.get_value
|
||||
os.stat_result.n_fields
|
||||
os.stat_result.n_sequence_fields
|
||||
os.stat_result.n_unnamed_fields
|
||||
os.terminal_size.n_fields
|
||||
os.terminal_size.n_sequence_fields
|
||||
os.terminal_size.n_unnamed_fields
|
||||
os.times_result.n_fields
|
||||
os.times_result.n_sequence_fields
|
||||
os.times_result.n_unnamed_fields
|
||||
(os|posix).stat_result.n_fields
|
||||
(os|posix).stat_result.n_sequence_fields
|
||||
(os|posix).stat_result.n_unnamed_fields
|
||||
(os|posix).terminal_size.n_fields
|
||||
(os|posix).terminal_size.n_sequence_fields
|
||||
(os|posix).terminal_size.n_unnamed_fields
|
||||
(os|posix).times_result.n_fields
|
||||
(os|posix).times_result.n_sequence_fields
|
||||
(os|posix).times_result.n_unnamed_fields
|
||||
pickle.Pickler.memo
|
||||
pickle.Unpickler.memo
|
||||
pipes.Template.makepipeline
|
||||
|
||||
Reference in New Issue
Block a user