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/asyncore.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/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index b1eea4b..a360d40 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -58,7 +58,7 @@ from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, EINVAL, \ errorcode warnings.warn( - 'The asyncore module is deprecated. ' + 'The asyncore module is deprecated and will be removed in Python 3.12. ' 'The recommended replacement is asyncio', DeprecationWarning, stacklevel=2) |