Skip to content

bpo-32680 add default "sock" on SMTP objects#5345

Merged
giampaolo merged 1 commit into
python:masterfrom
romuald:smtplib-init-sock
Oct 9, 2018
Merged

bpo-32680 add default "sock" on SMTP objects#5345
giampaolo merged 1 commit into
python:masterfrom
romuald:smtplib-init-sock

Conversation

@romuald

@romuald romuald commented Jan 26, 2018

Copy link
Copy Markdown
Contributor

By default the smtplib.SMTP objects did not have a sock attribute, it
was only created during connect()

https://bugs.python.org/issue32680

@giampaolo giampaolo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bitdancer bitdancer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix looks correct to me as well, but we need a test and a NEWS entry in the PR.

@bedevere-bot

Copy link
Copy Markdown

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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

By default the smtplib.SMTP objects did not have a sock attribute, it
was only created during connect()
@romuald
romuald force-pushed the smtplib-init-sock branch from ba97bdf to 9517a76 Compare October 9, 2018 12:26
@romuald

romuald commented Oct 9, 2018

Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

@bitdancer, @giampaolo: please review the changes made to this pull request.

@giampaolo
giampaolo merged commit 7b31397 into python:master Oct 9, 2018
@bedevere-bot

Copy link
Copy Markdown

@giampaolo: Please replace # with GH- in the commit message next time. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants