[issue7464] circular reference in HTTPResponse by urllib2

Kristján Valur Jónsson report at bugs.python.org
Thu Dec 19 11:43:38 CET 2013


Kristján Valur Jónsson added the comment:

Here it is.
Notice the incredible nesting depth in python 2.7.
The socket itself is found at
response.fp._sock.fp._sock
There are two socket._fileobjects in use!

----------
Added file: http://bugs.python.org/file33205/httpleak.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7464>
_______________________________________


More information about the Python-bugs-list mailing list