diff options
author | Victor Stinner <vstinner@python.org> | 2021-11-15 23:29:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 23:29:17 (GMT) |
commit | 9bf2cbc4c498812e14f20d86acb61c53928a5a57 (patch) | |
tree | 3967d6f8ac254b8ed51ee8ab26eb94cb593223f9 /Doc/library/socketserver.rst | |
parent | 3352834f59531dfa42dbef00ada4fb95ded2ae3a (diff) | |
download | cpython-9bf2cbc4c498812e14f20d86acb61c53928a5a57.zip cpython-9bf2cbc4c498812e14f20d86acb61c53928a5a57.tar.gz cpython-9bf2cbc4c498812e14f20d86acb61c53928a5a57.tar.bz2 |
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
Diffstat (limited to 'Doc/library/socketserver.rst')
-rw-r--r-- | Doc/library/socketserver.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socketserver.rst b/Doc/library/socketserver.rst index b65a3e8..8aa72bd 100644 --- a/Doc/library/socketserver.rst +++ b/Doc/library/socketserver.rst @@ -176,7 +176,7 @@ partially finished requests and to use :mod:`selectors` to decide which request to work on next (or whether to handle a new incoming request). This is particularly important for stream services where each client can potentially be connected for a long time (if threads or subprocesses cannot be used). See -:mod:`asyncore` for another way to manage this. +:mod:`asyncio` for another way to manage this. .. XXX should data and methods be intermingled, or separate? how should the distinction between class and instance variables be drawn? |