summaryrefslogtreecommitdiffstats
path: root/Include/complexobject.h
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2011-07-23 12:03:00 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2011-07-23 12:03:00 (GMT)
commit08f5f7aa81321eb667609b2f096b2fc0c092cad4 (patch)
tree2c2b21982de26e2c715f4471ba11bf4edbd2dff2 /Include/complexobject.h
parentde02a7194c50cc2244798e086d94fa0a4f33ab91 (diff)
downloadcpython-08f5f7aa81321eb667609b2f096b2fc0c092cad4.zip
cpython-08f5f7aa81321eb667609b2f096b2fc0c092cad4.tar.gz
cpython-08f5f7aa81321eb667609b2f096b2fc0c092cad4.tar.bz2
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 'Include/complexobject.h')
0 files changed, 0 insertions, 0 deletions