]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)
authorVictor Stinner <vstinner@python.org>
Mon, 15 Nov 2021 23:29:17 +0000 (00:29 +0100)
committerGitHub <noreply@github.com>
Mon, 15 Nov 2021 23:29:17 +0000 (00:29 +0100)
commit9bf2cbc4c498812e14f20d86acb61c53928a5a57
tree3967d6f8ac254b8ed51ee8ab26eb94cb593223f9
parent3352834f59531dfa42dbef00ada4fb95ded2ae3a
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
28 files changed:
.github/CODEOWNERS
Doc/library/asynchat.rst [deleted file]
Doc/library/asyncore.rst [deleted file]
Doc/library/email.rst
Doc/library/internet.rst
Doc/library/ipc.rst
Doc/library/smtpd.rst [deleted file]
Doc/library/socketserver.rst
Doc/license.rst
Doc/whatsnew/3.11.rst
Lib/test/libregrtest/save_env.py
Lib/test/mock_socket.py
Lib/test/support/_asynchat.py [moved from Lib/asynchat.py with 98% similarity]
Lib/test/support/_asyncore.py [moved from Lib/asyncore.py with 99% similarity]
Lib/test/support/_smtpd.py [moved from Lib/smtpd.py with 83% similarity]
Lib/test/test_asynchat.py [deleted file]
Lib/test/test_asyncore.py [deleted file]
Lib/test/test_ftplib.py
Lib/test/test_logging.py
Lib/test/test_os.py
Lib/test/test_poplib.py
Lib/test/test_smtpd.py [deleted file]
Lib/test/test_smtplib.py
Lib/test/test_ssl.py
Misc/NEWS.d/next/Library/2021-11-11-12-59-10.bpo-28533.68mMZa.rst [new file with mode: 0644]
Misc/NEWS.d/next/Library/2021-11-11-12-59-49.bpo-28533.LvIFCQ.rst [new file with mode: 0644]
PCbuild/lib.pyproj
Python/stdlib_module_names.h