Martin Panter added the comment:
Also, if you enable warnings (e.g. python -Wall), you should see that the
socket is being closed:
-c:22: ResourceWarning: unclosed <socket.socket fd=3,
family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0,
laddr=('0.0.0.0', 8080)>
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue26703>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com