mirror of
https://github.com/python/cpython.git
synced 2026-06-16 16:10:54 -04:00
08f5f7aa81
* 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.