diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-11-08 15:48:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 15:48:58 (GMT) |
commit | e56e33d271e511e7c2324640d7f49d39b49830d8 (patch) | |
tree | a0cb27a36345f38be784d023a75cb3dfaf56daa0 /Doc/whatsnew/3.12.rst | |
parent | c43714fbcdb9bb0927872d6ebf5697edd2e2a1e9 (diff) | |
download | cpython-e56e33d271e511e7c2324640d7f49d39b49830d8.zip cpython-e56e33d271e511e7c2324640d7f49d39b49830d8.tar.gz cpython-e56e33d271e511e7c2324640d7f49d39b49830d8.tar.bz2 |
gh-72719: Remove asyncore and asynchat modules (#96580)
Remove modules asyncore and asynchat, which were deprecated by PEP 594.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc/whatsnew/3.12.rst')
-rw-r--r-- | Doc/whatsnew/3.12.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 5e8d971..cf71aab 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -522,6 +522,12 @@ Removed .. _aiosmtpd: https://pypi.org/project/aiosmtpd/ +* ``asynchat`` and ``asyncore`` have been removed + according to the schedule in :pep:`594`, + having been deprecated in Python 3.6. + Use :mod:`asyncio` instead. + (Contributed by Nikita Sobolev in :gh:`96580`.) + * Remove ``io.OpenWrapper`` and ``_pyio.OpenWrapper``, deprecated in Python 3.10: just use :func:`open` instead. The :func:`open` (:func:`io.open`) function is a built-in function. Since Python 3.10, :func:`_pyio.open` is |