We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PYTHONASYNCIODEBUG
Running the below with uvloop policy commented out results in an expected error:
ConnectionRefusedError: [Errno 61] Connect call failed ('127.0.0.1', 1)
Running with uvloop policy uncommented:
TypeError: getsockaddrarg() takes exactly 2 arguments (4 given)
This led me on a wild goose chase for a while...
import asyncio import socket import uvloop def lss(address): loop = asyncio.get_event_loop() sock = socket.socket() sock.setblocking(False) coro = loop.sock_connect(sock, address) loop.run_until_complete(coro) asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) lss(('localhost', 1))
The text was updated successfully, but these errors were encountered:
IPv6 address?
Sorry, something went wrong.
Well the asyncio error has an IPv4 one. I'm not sure what else you're asking.
Fix sock_connect() to resolve addresses for correct socket family
293d1b9
Fixes #139.
ce2bd4f
No branches or pull requests
PYTHONASYNCIODEBUG
in env?: YesRunning the below with uvloop policy commented out results in an expected error:
ConnectionRefusedError: [Errno 61] Connect call failed ('127.0.0.1', 1)
Running with uvloop policy uncommented:
TypeError: getsockaddrarg() takes exactly 2 arguments (4 given)
This led me on a wild goose chase for a while...
The text was updated successfully, but these errors were encountered: