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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16646>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to