[issue2118] smtplib.SMTP() raises socket.error rather than SMTPConnectError

Andrew Svetlov report at bugs.python.org
Sat Apr 13 22:52:52 CEST 2013


Andrew Svetlov added the comment:

Agree with Serhiy. Better to direcly use OSError than IOError alias.

----------
nosy: +asvetlov

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2118>
_______________________________________


More information about the Python-bugs-list mailing list