From 9bf2cbc4c498812e14f20d86acb61c53928a5a57 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 16 Nov 2021 00:29:17 +0100 Subject: bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521) Remove the asyncore and asynchat modules, deprecated in Python 3.6: use the asyncio module instead. Remove the smtpd module, deprecated in Python 3.6: the aiosmtpd module can be used instead, it is based on asyncio. * Remove asyncore, asynchat and smtpd documentation * Remove test_asyncore, test_asynchat and test_smtpd * Rename Lib/asynchat.py to Lib/test/support/_asynchat.py * Rename Lib/asyncore.py to Lib/test/support/_asyncore.py * Rename Lib/smtpd.py to Lib/test/support/_smtpd.py * Remove DeprecationWarning from private _asyncore, _asynchat and _smtpd modules * _smtpd: remove deprecated properties --- Python/stdlib_module_names.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'Python/stdlib_module_names.h') diff --git a/Python/stdlib_module_names.h b/Python/stdlib_module_names.h index 754fa94e35..7d421081b2 100644 --- a/Python/stdlib_module_names.h +++ b/Python/stdlib_module_names.h @@ -96,9 +96,7 @@ static const char* _Py_stdlib_module_names[] = { "argparse", "array", "ast", -"asynchat", "asyncio", -"asyncore", "atexit", "audioop", "base64", @@ -242,7 +240,6 @@ static const char* _Py_stdlib_module_names[] = { "shutil", "signal", "site", -"smtpd", "smtplib", "sndhdr", "socket", -- cgit v1.2.1