mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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.
This commit is contained in:
parent
3a2b89580d
commit
7747384643
9 changed files with 23 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue