Move all definitions except environ from posix to os (#6442)

This commit is contained in:
Akuli
2021-12-01 18:07:33 +02:00
committed by GitHub
parent bdf906e2bc
commit ea3f962860
4 changed files with 176 additions and 177 deletions

View File

@@ -12,9 +12,8 @@ os.EX_NOTFOUND
os.SF_MNOWAIT
os.SF_NODISKIO
os.SF_SYNC
posix.sched_param # system dependent. Unclear if macos has it.
os.sched_param # system dependent. Unclear if macos has it.
posix.EX_NOTFOUND
posix.XATTR.* # Value seems to be in docs but not defined in github macos
readline.append_history_file # not defined in macos
select.KQ_FILTER_NETDEV # system dependent
select.kqueue.__init__ # default C signature is wrong
@@ -42,6 +41,7 @@ posix.[a-z]+_(param|result)._(asdict|make|replace)
# Platform differences that cannot be captured by the type system
fcntl.[A-Z0-9_]+
os.SCHED_[A-Z_]+
posix.SCHED_[A-Z_]+
# Loadable SQLite extensions are disabled on GitHub runners
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?

View File

@@ -45,6 +45,7 @@ posix.[a-z]+_(param|result)._(asdict|make|replace)
# Platform differences that cannot be captured by the type system
fcntl.[A-Z0-9_]+
os.SCHED_[A-Z_]+
posix.SCHED_[A-Z_]+
# Loadable SQLite extensions are disabled on GitHub runners
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?