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
bpo-38341: Add SMTPNotSupportedError in the exports of smtplib #16525
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). Recognized GitHub usernameWe couldn't find a bugs.python.org (b.p.o) account corresponding to the following GitHub usernames: This might be simply due to a missing "GitHub Name" entry in one's b.p.o account settings. This is necessary for legal reasons before we can look at this contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
Thanks for your time @rockwelln, and welcome to CPython! |
This looks like a good change. Can you also create a NEWS entry, since this changes smtplib
's exported names?
Just something simple, like:
Added :exc:`smtplib.SMTPNotSupportedError` to ``__all__`` in :mod:`smtplib`.
Thank you @brandtbucher :-), I posted the news. |
Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst
Outdated
Show resolved
Hide resolved
of course! thank you for the suggestion, I missed it in the conversation. Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
Awesome. I assume you’ve seen the bot’s message about the CLA? |
thanks! |
Thanks for working on this @rockwelln
Since this is a public API (https://docs.python.org/3/library/smtplib.html?highlight=smtplib#smtplib.SMTPNotSupportedError) it should be exported.
@maxking: Please replace |
Thanks @rockwelln for the PR, and @maxking for merging it |
Sorry @rockwelln and @maxking, I had trouble checking out the |
GH-16590 is a backport of this pull request to the 3.7 branch. |
…nGH-16525) Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 3faf826) Co-authored-by: nde <denayer.norman@gmail.com>
Congrats on your first CPython contribution @rockwelln! Looking forward to seeing more from you in the future. |
thank you very much @brandtbucher for your support. this first experience was a pleasure. |
Thanks @rockwelln for the PR, and @maxking for merging it |
GH-16721 is a backport of this pull request to the 3.8 branch. |
…nGH-16525) Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 3faf826) Co-authored-by: nde <denayer.norman@gmail.com>
(The 3.8 autobackport failed for some reason originally, manually restarted it.) |
) Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 3faf826) Co-authored-by: nde <denayer.norman@gmail.com>
) Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com> (cherry picked from commit 3faf826) Co-authored-by: nde <denayer.norman@gmail.com>
…n#16525) Add SMTPNotSupportedError in the exports of smtplib Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
Pretty simple add in the all variable, the missing exception SMTPNotSupportedError
https://bugs.python.org/issue38341