cleaning up termios constants (#13138)

This commit is contained in:
Stephen Morton
2024-11-28 07:04:05 -08:00
committed by GitHub
parent 93a31af781
commit 00c0c8d984
3 changed files with 112 additions and 76 deletions

View File

@@ -19,9 +19,6 @@ select.POLLMSG # system dependent
(fcntl.F_SETLEASE)?
(_gdbm)?
# Platform differences that cannot be captured by the type system
(termios.[A-Z0-9_]+)?
# ==========
# Allowlist entries that cannot or should not be fixed
# ==========

View File

@@ -25,7 +25,6 @@ multiprocessing.popen_spawn_win32
# Platform differences that cannot be captured by the type system
fcntl.I_[A-Z0-9_]+
(termios.[A-Z0-9_]+)?
# Some of these exist on non-windows, but they are useless and this is not intended
stat.FILE_ATTRIBUTE_[A-Z_]+
@@ -66,3 +65,7 @@ _?socket.SOL_HCI
_?socket.SOL_IPX
_?socket.SOL_NETROM
_?socket.SOL_ROSE
# This is available on Linux, but it's documented as for kernel debugging and
# not present on GitHub Actions runners.
termios.TIOCTTYGSTRUCT