• Nadeem Vawda's avatar
    Merge: #10883: Fix socket leaks in urllib.request. · 02000161
    Nadeem Vawda yazdı
    * 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.
    02000161
ftplib.py 38.9 KB