You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# _make_simple_sock_method_wrapper is typed, so this checks that the above is correct
# this requires that we refrain from using `/` to specify pos-only
# args, or mypy thinks the signature differs from typeshed.
recv=_make_simple_sock_method_wrapper(
_stdlib_socket.socket.recv,
_core.wait_readable,
)
although I'm surprised that mypy haven't started complaining from bumping typeshed. Maybe they did some backwards compatibility thing? Or haven't bumped typeshed?
The text was updated successfully, but these errors were encountered:
python/typeshed#11250 changed the signatures of
SocketType.recv
and friends, so it should now be possible to changetrio/src/trio/_socket.py
Lines 1115 to 1129 in 4e979bf
although I'm surprised that mypy haven't started complaining from bumping typeshed. Maybe they did some backwards compatibility thing? Or haven't bumped typeshed?
The text was updated successfully, but these errors were encountered: