mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
fixes to select module constants (#13174)
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
curses.has_key
|
||||
(os|posix).sched_param # system dependent. Unclear if macos has it.
|
||||
select.KQ_FILTER_NETDEV # system dependent
|
||||
select.kqueue.__init__ # default C signature is wrong
|
||||
select.POLLMSG # system dependent
|
||||
|
||||
# Sometimes these seem to exist on darwin, sometimes not
|
||||
(_curses.A_ITALIC)?
|
||||
@@ -37,6 +34,8 @@ winsound
|
||||
# multiprocessing.popen_spawn_win32 exists on Darwin but fail to import
|
||||
multiprocessing.popen_spawn_win32
|
||||
|
||||
select.kqueue.__init__ # default C signature is wrong
|
||||
|
||||
# Some of these exist on non-windows, but they are useless and this is not intended
|
||||
stat.FILE_ATTRIBUTE_[A-Z_]+
|
||||
|
||||
|
||||
@@ -10,7 +10,8 @@ if sys.platform != "win32":
|
||||
POLLERR: int
|
||||
POLLHUP: int
|
||||
POLLIN: int
|
||||
POLLMSG: int
|
||||
if sys.platform == "linux":
|
||||
POLLMSG: int
|
||||
POLLNVAL: int
|
||||
POLLOUT: int
|
||||
POLLPRI: int
|
||||
@@ -77,7 +78,8 @@ if sys.platform != "linux" and sys.platform != "win32":
|
||||
KQ_EV_ONESHOT: int
|
||||
KQ_EV_SYSFLAGS: int
|
||||
KQ_FILTER_AIO: int
|
||||
KQ_FILTER_NETDEV: int
|
||||
if sys.platform != "darwin":
|
||||
KQ_FILTER_NETDEV: int
|
||||
KQ_FILTER_PROC: int
|
||||
KQ_FILTER_READ: int
|
||||
KQ_FILTER_SIGNAL: int
|
||||
|
||||
Reference in New Issue
Block a user