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

Xiang Zhang report at bugs.python.org
Wed May 24 14:59:08 EDT 2017


Xiang Zhang added the comment:


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


----------

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


More information about the Python-bugs-list mailing list