[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

Xiang Zhang report at bugs.python.org
Wed May 24 14:49:26 EDT 2017


Xiang Zhang added the comment:


New changeset ebbefae14039aa86d4c8a7cfab8f2b5a3ef0d241 by Xiang Zhang (Stéphane Wirtel) in branch '3.5':
bpo-30394: Fix a socket leak in smtplib.SMTP.__init__() (#1700) (#1789)
https://github.com/python/cpython/commit/ebbefae14039aa86d4c8a7cfab8f2b5a3ef0d241


----------

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


More information about the Python-bugs-list mailing list