From 77473846439b8a3eae66de1a1cfe931619f38513 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Fri, 18 Mar 2022 21:45:37 +0200 Subject: 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. --- Lib/asyncore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/asyncore.py') diff --git a/Lib/asyncore.py b/Lib/asyncore.py index b1eea4bf65..a360d40439 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) -- cgit v1.2.1