[New-bugs-announce] [issue16646] FTP.makeport() loses socket error details

Serhiy Storchaka report at bugs.python.org
Sat Dec 8 19:51:28 CET 2012

New submission from Serhiy Storchaka:

In FTP.makeport() a socket error catched and saved but then raised a new error with saved error as argument.

Here is a patch which reraises an original error.

components: Library (Lib)
files: ftplib_makeport_raise_err.patch
keywords: patch
messages: 177171
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: FTP.makeport() loses socket error details
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28262/ftplib_makeport_raise_err.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list