-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-30394: smtplib leaves open sockets around if SMTPConnectError is raised in __init__ #1700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
RFC2821 S3.1 P3 server MUST wait for us to QUIT.
@jhillacre, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bitdancer, @warsaw and @giampaolo to be potential reviewers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a suggestion for a test on the issue.
Nevermind, my suggestion was wrong-headed :) |
Thanks @jhillacre ! Would you like to make backport PRs? |
Hi @zhangyangyu I just created some PR for the backports for 2.7, 3.5 and 3.6 |
Thanks @matrixise , I'll merge them when able to. |
Opening PR based on patch file from https://bugs.python.org/issue30394