Message261443
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. |
|
Date |
User |
Action |
Args |
2016-03-09 16:48:17 | vstinner | set | recipients:
+ vstinner, gvanrossum, yselivanov, Erwin Mayer |
2016-03-09 16:48:16 | vstinner | set | messageid: <1457542096.97.0.729764342963.issue26520@psf.upfronthosting.co.za> |
2016-03-09 16:48:16 | vstinner | link | issue26520 messages |
2016-03-09 16:48:16 | vstinner | create | |
|