mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-17 16:45:05 +08:00
Fix stubtest issues (#5360)
* Fix some stubtest issues * Remove MADV_SOFT_OFFLINE
This commit is contained in:
@@ -64,7 +64,6 @@ logging.handlers.TimedRotatingFileHandler.__init__
|
||||
logging.handlers.WatchedFileHandler.__init__
|
||||
macpath # module removed in 3.8
|
||||
macurl2path # module removed in 3.7
|
||||
mmap.MADV_[A-Z_]+ # platform dependent constants
|
||||
multiprocessing.spawn._main
|
||||
os.getgrouplist
|
||||
os.sendfile
|
||||
|
||||
@@ -34,7 +34,6 @@ collections.abc.AsyncGenerator.ag_running
|
||||
collections.abc.ItemsView.__reversed__
|
||||
collections.abc.KeysView.__reversed__
|
||||
collections.abc.ValuesView.__reversed__
|
||||
concurrent.futures.ProcessPoolExecutor.map
|
||||
contextlib.nullcontext # not a function at runtime
|
||||
contextvars.Context.__init__ # Default C __init__ signature is wrong
|
||||
dataclasses.field
|
||||
@@ -52,7 +51,6 @@ ipaddress._BaseNetwork.broadcast_address
|
||||
ipaddress._BaseNetwork.hostmask
|
||||
macpath # removed in 3.8
|
||||
macurl2path # removed in 3.7
|
||||
mmap.MADV_[A-Z_]+
|
||||
multiprocessing.spawn._main
|
||||
pickle.Pickler.reducer_override # implemented in C pickler
|
||||
queue.SimpleQueue.__init__ # Default C __init__ signature is wrong
|
||||
|
||||
@@ -73,7 +73,6 @@ logging.handlers.TimedRotatingFileHandler.__init__
|
||||
logging.handlers.WatchedFileHandler.__init__
|
||||
macpath # module removed in 3.8
|
||||
macurl2path # module removed in 3.7
|
||||
mmap.MADV_[A-Z_]+ # platform dependent constants
|
||||
multiprocessing.spawn._main
|
||||
os.MFD_HUGE_32MB
|
||||
os.MFD_HUGE_512MB
|
||||
|
||||
@@ -208,9 +208,7 @@ typing.IO.__next__ # Added because IO streams are iterable. See https://github.
|
||||
typing.type_check_only # typing decorator that is not available at runtime
|
||||
unittest.mock.patch # It's a complicated overload and I haven't been able to figure out why stubtest doesn't like it
|
||||
urllib.parse._DefragResultBase.__new__ # Generic NamedTuple is problematic in mypy, so regular tuple was used. See https://github.com/python/mypy/issues/685
|
||||
urllib.request.BaseHandler.http_error_nnn
|
||||
urllib.request.HTTPPasswordMgrWithPriorAuth.__init__
|
||||
urllib.robotparser.RobotFileParser.can_fetch
|
||||
urllib.request.HTTPPasswordMgrWithPriorAuth.__init__ # Args are passed as is to super, so super args are specified
|
||||
warnings.catch_warnings.__init__ # Defining this ruins the __new__ overrides
|
||||
weakref.CallableProxyType.__getattr__ # Should have all attributes of proxy
|
||||
weakref.ProxyType.__getattr__ # Should have all attributes of proxy
|
||||
@@ -218,11 +216,9 @@ weakref.ReferenceType.__call__ # C function default annotation is wrong
|
||||
weakref.WeakKeyDictionary.get
|
||||
weakref.WeakKeyDictionary.update
|
||||
weakref.WeakValueDictionary.get
|
||||
webbrowser.Mozilla.raise_opts
|
||||
webbrowser.UnixBrowser.raise_opts
|
||||
webbrowser.UnixBrowser.remote_action
|
||||
webbrowser.UnixBrowser.remote_action_newtab
|
||||
webbrowser.UnixBrowser.remote_action_newwin
|
||||
webbrowser.UnixBrowser.remote_action # always overridden in inheriting class
|
||||
webbrowser.UnixBrowser.remote_action_newtab # always overridden in inheriting class
|
||||
webbrowser.UnixBrowser.remote_action_newwin # always overridden in inheriting class
|
||||
wsgiref.types # Doesn't exist, see comments in file
|
||||
|
||||
# ==========
|
||||
|
||||
Reference in New Issue
Block a user