Greg Malcolm <g...@gregmalcolm.com> added the comment:

I've uploaded a patch for 3.2 that throws a ValueError exception for non 
numeric port numbers and SMTPSocketConnectError for socket connection failures. 

This patch introduces an API change, by creating the SMTPSocketConnectError 
which provides information about the socket error. The API documentation will 
therefore need to be updated if this patch is accepted.

----------
nosy: +gregmalcolm
Added file: http://bugs.python.org/file18301/issue_2118_fix_for_py3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2118>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to