[issue16646] FTP.makeport() loses socket error details
Giampaolo Rodola'
report at bugs.python.org
Mon Dec 17 13:13:27 CET 2012
Giampaolo Rodola' added the comment:
Why did you replace socket.error with OSError?
I think we should use socket.create_connection() as a guide line:
http://hg.python.org/cpython/file/45dfb657b430/Lib/socket.py#l401
A patch is in attachment.
----------
Added file: http://bugs.python.org/file28342/ftplib.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16646>
_______________________________________
More information about the Python-bugs-list
mailing list