Amaury Forgeot d Arc <[email protected]> added the comment: This issue should be reported to CPython as well: in python3 sockets are supposed to be careful to not rely on reference counting, yet when I run your script with "python3 -Wall" I see the warning:
/usr/lib/python3.2/socket.py:339: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=1, proto=6> self._sock = None And as expected, with PyPy a gc.collect() closes the socket. ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue867> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
