From d2bc38b892d75b5b4155e7681005a8dbe3e86403 Mon Sep 17 00:00:00 2001 From: nde Date: Tue, 1 Oct 2019 22:41:08 +0200 Subject: [PATCH 1/3] Add SMTPNotSupportedError in the exports of smtplib --- Lib/smtplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 43a00d9a4e3c42..6513842eb6c612 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -54,7 +54,7 @@ import sys from email.base64mime import body_encode as encode_base64 -__all__ = ["SMTPException", "SMTPServerDisconnected", "SMTPResponseException", +__all__ = ["SMTPException", "SMTPNotSupportedError", "SMTPServerDisconnected", "SMTPResponseException", "SMTPSenderRefused", "SMTPRecipientsRefused", "SMTPDataError", "SMTPConnectError", "SMTPHeloError", "SMTPAuthenticationError", "quoteaddr", "quotedata", "SMTP"] From 83f5ce25bef57f747d4d50a2086e61e99eecece5 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2019 21:06:19 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst diff --git a/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst b/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst new file mode 100644 index 00000000000000..b128ff16840da2 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst @@ -0,0 +1 @@ +Add SMTPNotSupportedError in the smtplib exported names. \ No newline at end of file From a7921e6b247c8c09f0688cbe1d597af1575d9eea Mon Sep 17 00:00:00 2001 From: nde Date: Tue, 1 Oct 2019 23:24:18 +0200 Subject: [PATCH 3/3] Update Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst of course! thank you for the suggestion, I missed it in the conversation. Co-Authored-By: Brandt Bucher --- .../next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst b/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst index b128ff16840da2..dd1a6b080b6271 100644 --- a/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst +++ b/Misc/NEWS.d/next/Library/2019-10-01-21-06-18.bpo-38341.uqwgU_.rst @@ -1 +1 @@ -Add SMTPNotSupportedError in the smtplib exported names. \ No newline at end of file +Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:`smtplib` exported names.