bpo-32680 add default "sock" on SMTP objects#5345
Conversation
2425780 to
ba97bdf
Compare
bitdancer
left a comment
There was a problem hiding this comment.
Fix looks correct to me as well, but we need a test and a NEWS entry in the PR.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
By default the smtplib.SMTP objects did not have a sock attribute, it was only created during connect()
ba97bdf to
9517a76
Compare
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @bitdancer, @giampaolo: please review the changes made to this pull request. |
|
@giampaolo: Please replace |
By default the smtplib.SMTP objects did not have a sock attribute, it
was only created during connect()
https://bugs.python.org/issue32680