summaryrefslogtreecommitdiffstats
path: root/Lib/smtpd.py
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2022-03-18 19:45:37 (GMT)
committerGitHub <noreply@github.com>2022-03-18 19:45:37 (GMT)
commit77473846439b8a3eae66de1a1cfe931619f38513 (patch)
tree3caee09cfda1b27a87da7dcd1df553c3873595fb /Lib/smtpd.py
parent3a2b89580ded72262fbea0f7ad24096a90c42b9c (diff)
downloadcpython-77473846439b8a3eae66de1a1cfe931619f38513.zip
cpython-77473846439b8a3eae66de1a1cfe931619f38513.tar.gz
cpython-77473846439b8a3eae66de1a1cfe931619f38513.tar.bz2
bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891)
Document the deprecation of asyncore, asynchat, and smtpd with a slated removal in Python 3.12 thanks to PEP 594.
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-xLib/smtpd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py
index 1cd004f..eeda155 100755
--- a/Lib/smtpd.py
+++ b/Lib/smtpd.py
@@ -85,7 +85,8 @@ __all__ = [
]
warn(
- 'The smtpd module is deprecated and unmaintained. Please see aiosmtpd '
+ 'The smtpd module is deprecated and unmaintained and will be removed '
+ 'in Python 3.12. Please see aiosmtpd '
'(https://aiosmtpd.readthedocs.io/) for the recommended replacement.',
DeprecationWarning,
stacklevel=2)