gevent: Use a TypeVarTuple in gevent.baseserver.BaseServer (#11138)

This commit is contained in:
David Salvisberg
2025-08-11 12:58:16 +02:00
committed by GitHub
parent 897abe0089
commit 62e28b2709
3 changed files with 17 additions and 19 deletions
+5 -4
View File
@@ -120,10 +120,6 @@ gevent._config._PositiveValueMixin.validate
# internal API implementation detail we don't care about
gevent._ffi.watcher.AbstractWatcherType.__new__
# these are inconsistent due to the ParamSpec hack for positional only callables
gevent.baseserver.BaseServer.do_close
gevent.baseserver.BaseServer.do_handle
# we don't care about write/writeall allowing a named parameter
gevent._fileobjectcommon.FlushingBufferedWriter.write
gevent._fileobjectcommon.WriteIsWriteallMixin.write
@@ -175,6 +171,11 @@ gevent.socket.socket.closed
gevent.socket.wait_readwrite
gevent.socket.wait_write
# See https://github.com/python/typeshed/pull/14503/files#r2247065318 for why a
# default of `0` is exposed, even though the physical default that stubtest
# can see is `-1`.
gevent.socket.SocketType.__init__
# we have punted on ssl, the gevent version of these functions have an additional
# argument for timeouts/blocking and there are some with different default values
# for nbytes/length, for now we ignore that fact