_posixsubprocess.cloexec_pipe
_?curses.ACS_.* # ACS codes are initialized only after initscr call.
curses.COLORS  # Initialized after start_color
curses.COLOR_PAIRS  # Initialized after start_color
curses.COLS  # Initialized only after initscr call.
curses.LINES  # Initialized only after initscr call.
distutils.command.bdist_msi  # msi is only available on windows
grp.struct_group._asdict  # PyStructSequence
grp.struct_group._make  # PyStructSequence
grp.struct_group._replace  # PyStructSequence
os.EX_NOTFOUND
os.SF_MNOWAIT
os.SF_NODISKIO
os.SF_SYNC
os.plock
posix.EX_NOTFOUND
select.EPOLL_RDHUP
selectors.KqueueSelector
signal.SIGEMT
signal.SIGINFO
spwd.struct_spwd._asdict  # PyStructSequence
spwd.struct_spwd._make  # PyStructSequence
spwd.struct_spwd._replace  # PyStructSequence

# ==========
# Allowlist entries that cannot or should not be fixed
# ==========

# Modules that do not exist on Linux systems
_msi
_winapi
asyncio.windows_events
asyncio.windows_utils
msilib(.[a-z]+)?
msvcrt
winreg
winsound

# NamedTuple like, but not actually NamedTuples (PyStructSequence)
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)?
(sqlite3(.dbapi2)?.Connection.load_extension)?

# Exists at runtime, but missing from stubs
distutils.msvccompiler.MSVCCompiler.get_msvc_paths
distutils.msvccompiler.MSVCCompiler.set_path_env_var
distutils.msvccompiler.MacroExpander
grp.struct_group.n_fields
grp.struct_group.n_sequence_fields
grp.struct_group.n_unnamed_fields
mimetypes.MimeTypes.read_windows_registry
(os|posix).sched_param.n_fields
(os|posix).sched_param.n_sequence_fields
(os|posix).sched_param.n_unnamed_fields
(os|posix).waitid_result.n_fields
(os|posix).waitid_result.n_sequence_fields
(os|posix).waitid_result.n_unnamed_fields
resource.struct_rusage.n_fields
resource.struct_rusage.n_sequence_fields
resource.struct_rusage.n_unnamed_fields
selectors.DefaultSelector.fileno
signal.struct_siginfo.n_fields
signal.struct_siginfo.n_sequence_fields
signal.struct_siginfo.n_unnamed_fields
socket.MsgFlag.MSG_CMSG_CLOEXEC
socket.MsgFlag.MSG_CONFIRM
socket.MsgFlag.MSG_ERRQUEUE
socket.MsgFlag.MSG_FASTOPEN
socket.MsgFlag.MSG_MORE
socket.MsgFlag.MSG_NOSIGNAL
spwd.struct_spwd.n_fields
spwd.struct_spwd.n_sequence_fields
spwd.struct_spwd.n_unnamed_fields
spwd.struct_spwd.sp_nam
spwd.struct_spwd.sp_pwd
