diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2022-03-20 20:38:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-20 20:38:01 (GMT) |
commit | 94f038cbb27dc6d1a74ae2bfedea674911f8e8c6 (patch) | |
tree | 4b80f7c7bec8b0ed8134f4924ddf4238a40354d0 /Lib/smtpd.py | |
parent | 4352ca234e979ad1c7158981addf899b119cd448 (diff) | |
download | cpython-94f038cbb27dc6d1a74ae2bfedea674911f8e8c6.zip cpython-94f038cbb27dc6d1a74ae2bfedea674911f8e8c6.tar.gz cpython-94f038cbb27dc6d1a74ae2bfedea674911f8e8c6.tar.bz2 |
[3.10] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) (#31997)
Document the deprecation of asyncore, asynchat, and smtpd with a slated removal in Python 3.12 thanks to PEP 594..
(cherry picked from commit 77473846439b8a3eae66de1a1cfe931619f38513)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-x | Lib/smtpd.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py index bc43331..963e0a7 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -93,7 +93,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) |