cpython: 6e07be3dfb6b (original) (raw)

Mercurial > cpython

changeset 80908:6e07be3dfb6b 2.7

Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) [#16646]

Giampaolo Rodola' g.rodola@gmail.com
date Mon, 17 Dec 2012 14:30:48 +0100
parents 542cfc75c043
children fd57dbfa5765
files Lib/ftplib.py Misc/NEWS
diffstat 2 files changed, 10 insertions(+), 4 deletions(-)[+] [-] Lib/ftplib.py 11 Misc/NEWS 3

line wrap: on

line diff

--- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -273,21 +273,24 @@ class FTP: def makeport(self): '''Create a new socket and send a PORT command for it.'''

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -160,6 +160,9 @@ Core and Builtins Library ------- +- Issue #16646: ftplib.FTP.makeport() might lose socket error details.