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
This commit is contained in:
Victor Stinner 2021-11-16 00:29:17 +01:00 committed by GitHub
parent 3352834f59
commit 9bf2cbc4c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 34 additions and 3228 deletions

View file

@ -35,7 +35,6 @@ is currently supported on most popular platforms. Here is an overview:
imaplib.rst
nntplib.rst
smtplib.rst
smtpd.rst
telnetlib.rst
uuid.rst
socketserver.rst