[issue3066] FD leak in urllib2
Sharmila Sivakumar
report at bugs.python.org
Wed Jun 11 19:13:23 CEST 2008
Sharmila Sivakumar <siva.sharmi at gmail.com> added the comment:
Since the socket object is added to a list, a reference to the object
always exists right? That would mean that it would not be garbage
collected as long as the reference exists.
On the other hand, it should also be noted that in close method, the
socket is not explicitly closed and for a single urlopen, atleast 3
sockets are opened.
----------
nosy: +sharmila
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3066>
_______________________________________
More information about the Python-bugs-list
mailing list