[issue10883] urllib: socket is not closed explicitly

Nadeem Vawda report at bugs.python.org
Sat Jul 2 12:52:12 CEST 2011


Nadeem Vawda <nadeem.vawda at gmail.com> added the comment:

Here's an updated patch implementing reference counting for ftpwrapper.
It changes the semantics of ftpwrapper.close() to postpone actually closing
the connection until all files have also been closed (like socket.close()).

----------
Added file: http://bugs.python.org/file22547/issue10883.patch

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


More information about the Python-bugs-list mailing list