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 /Misc/NEWS.d/next | |
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 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-11-11-12-59-10.bpo-28533.68mMZa.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2021-11-11-12-59-49.bpo-28533.LvIFCQ.rst | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-11-11-12-59-10.bpo-28533.68mMZa.rst b/Misc/NEWS.d/next/Library/2021-11-11-12-59-10.bpo-28533.68mMZa.rst new file mode 100644 index 0000000..4924381 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-11-11-12-59-10.bpo-28533.68mMZa.rst @@ -0,0 +1,2 @@ +Remove the ``asyncore`` and ``asynchat`` modules, deprecated in Python 3.6: +use the :mod:`asyncio` module instead. Patch by Victor Stinner. diff --git a/Misc/NEWS.d/next/Library/2021-11-11-12-59-49.bpo-28533.LvIFCQ.rst b/Misc/NEWS.d/next/Library/2021-11-11-12-59-49.bpo-28533.LvIFCQ.rst new file mode 100644 index 0000000..67fb368 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2021-11-11-12-59-49.bpo-28533.LvIFCQ.rst @@ -0,0 +1,3 @@ +Remove the ``smtpd`` module, deprecated in Python 3.6: the `aiosmtpd +<https://aiosmtpd.readthedocs.io/>`__ module can be used instead, it is based +on asyncio. Patch by Victor Stinner. |