[issue21641] smtplib leaves open sockets around if SMTPResponseException is raised in __init__

Roundup Robot report at bugs.python.org
Tue Jun 3 16:25:48 CEST 2014


Roundup Robot added the comment:

New changeset d5c76646168d by Senthil Kumaran in branch '3.4':
Fix issue #21641: Close the socket before raising the SMTPResponseException. Fixes the ResourceWarning in the test run.
http://hg.python.org/cpython/rev/d5c76646168d

New changeset 7ea84a25d863 by Senthil Kumaran in branch 'default':
merge from 3.4
http://hg.python.org/cpython/rev/7ea84a25d863

----------
nosy: +python-dev

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


More information about the Python-bugs-list mailing list