mirror of
https://github.com/python/cpython.git
synced 2025-09-09 18:32:22 +00:00
[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 7747384643
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
4352ca234e
commit
94f038cbb2
8 changed files with 18 additions and 4 deletions
|
@ -50,7 +50,7 @@ from collections import deque
|
|||
|
||||
from warnings import warn
|
||||
warn(
|
||||
'The asynchat module is deprecated. '
|
||||
'The asynchat module is deprecated and will be removed in Python 3.12. '
|
||||
'The recommended replacement is asyncio',
|
||||
DeprecationWarning,
|
||||
stacklevel=2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue