summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2011-07-23 14:03:00 +0200
committerNadeem Vawda <nadeem.vawda@gmail.com>2011-07-23 14:03:00 +0200
commitcbaf7ab5c8c73b478d74f8a61447e393240d3cba (patch)
tree94be9a180877918478f0fd7bd94d2959e53128a3 /Python/codecs.c
parentfd1bf561ffddad410c510fad00439bebd97f6b4e (diff)
downloadcpython-cbaf7ab5c8c73b478d74f8a61447e393240d3cba.tar.gz
Issue #10883: Fix socket leaks in urllib.request.
* ftpwrapper now uses reference counting to ensure that the underlying socket is closed when the ftpwrapper object is no longer in use * ftplib.FTP.ntransfercmd() now closes the socket if an error occurs Initial patch by Victor Stinner.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions