Bump mypy to 1.9, add to json.encoder, small fixups (#11549)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Shantanu
2024-03-09 14:25:00 -08:00
committed by GitHub
parent 5b1fd121e0
commit 4d8ae17776
40 changed files with 71 additions and 90 deletions
@@ -74,7 +74,6 @@ gevent.ssl.base64
gevent.ssl.create_connection
gevent.ssl.errno
gevent.ssl.os
gevent.ssl.socket_error
gevent.ssl.warnings
gevent\.subprocess\._[A-Za-z0-9]\w*
@@ -147,11 +146,7 @@ gevent.Greenlet.link_value
gevent.greenlet.Greenlet.link
gevent.greenlet.Greenlet.link_exception
gevent.greenlet.Greenlet.link_value
gevent._ffi.watcher.IoMixin.__init__
gevent._threading.Queue.qsize
gevent.monkey.patch_module
gevent.monkey.patch_ssl
gevent.monkey.patch_thread
# removed deprecated argument
gevent._hub_primitives.wait_readwrite
@@ -195,22 +190,10 @@ gevent.ssl.get_server_certificate
# for now we ignore that fact, most of the ways to call Popen should be compatible
gevent.subprocess.Popen.__init__
# we exclude the undocumented internal argument _raise_exc from the stubs
gevent.subprocess.Popen.wait
# we exclude the undocumented internal argument _format_hub from the stubs
gevent.threadpool.ThreadPool.__repr__
# gevent overwrites with a named parameter for fd, but we're fine with only
# supporting the API of the superclass
gevent.threadpool.ThreadPoolExecutor.submit
# we exclude the undocumented internal argument _one_shot from the stubs
gevent.Timeout.__init__
gevent.Timeout.start_new
gevent.timeout.Timeout.__init__
gevent.timeout.Timeout.start_new
# Error: is not a type/function
# =====================
# zope.interface related errors, these shouldn't matter