[issue26520] asyncio.new_event_loop() hangs
STINNER Victor
report at bugs.python.org
Wed Mar 9 11:48:17 EST 2016
STINNER Victor added the comment:
Do you have a firewall? Maybe the firewall blocks programs listening on sockets? It would be silly, the socket is only listening on 127.0.0.1 (local link) (or ::1 in IPv6, also local link).
Extract of the socketpair() function:
try:
csock.connect((addr, port))
except (BlockingIOError, InterruptedError):
pass
Can you please try to replace this code with:
try:
csock.connect((addr, port))
except (BlockingIOError, InterruptedError) as exc:
print("CONNECT ERROR! %r" % (exc,))
You can copy socket.py from the Python standard library to the current directory and modify the local copy.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26520>
_______________________________________
More information about the Python-bugs-list
mailing list