mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-16 08:06:46 +08:00
Fix stubtest errors on macOS / Python 3.11 (#8743)
This commit is contained in:
@@ -3,3 +3,11 @@ xxlimited.Xxo.x_exports
|
||||
|
||||
# Exists at runtime, missing from stub
|
||||
socket.TCP_CONNECTION_INFO
|
||||
|
||||
(dbm.gnu)?
|
||||
(locale.bind_textdomain_codeset)?
|
||||
(locale.bindtextdomain)?
|
||||
(locale.dcgettext)
|
||||
(locale.dgettext)?
|
||||
(locale.gettext)?
|
||||
(locale.textdomain)?
|
||||
@@ -12,10 +12,14 @@ select.KQ_FILTER_NETDEV # system dependent
|
||||
select.kqueue.__init__ # default C signature is wrong
|
||||
select.POLLMSG # system dependent
|
||||
|
||||
# Sometimes this exists on darwin, sometimes not
|
||||
# Sometimes these seem to exist on darwin, sometimes not
|
||||
(_socket.MSG_NOSIGNAL)?
|
||||
(socket.MsgFlag.MSG_NOSIGNAL)?
|
||||
(socket.MSG_NOSIGNAL)?
|
||||
(os.preadv)?
|
||||
(os.pwritev)?
|
||||
(posix.preadv)?
|
||||
(posix.pwritev)?
|
||||
|
||||
# Exists at runtime, but missing from stubs
|
||||
distutils.msvccompiler.MSVCCompiler.get_msvc_paths
|
||||
|
||||
Reference in New Issue
Block a user