summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.12.rst
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2022-10-08 20:52:19 (GMT)
committerGitHub <noreply@github.com>2022-10-08 20:52:19 (GMT)
commitd8765284f33ec221b5fe07b439ca2dc2d648251d (patch)
treea0535fa12e331f73f9a1759581cafb05e75d37f3 /Doc/whatsnew/3.12.rst
parent75751f4aa5d70f65856645a9128fd42d92d6692c (diff)
downloadcpython-d8765284f33ec221b5fe07b439ca2dc2d648251d.zip
cpython-d8765284f33ec221b5fe07b439ca2dc2d648251d.tar.gz
cpython-d8765284f33ec221b5fe07b439ca2dc2d648251d.tar.bz2
GH-94597: deprecate `SafeChildWatcher`, `FastChildWatcher` and `MultiLoopChildWatcher` child watchers (#98089)
Diffstat (limited to 'Doc/whatsnew/3.12.rst')
-rw-r--r--Doc/whatsnew/3.12.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 341e851..9035332 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -109,6 +109,24 @@ New Modules
Improved Modules
================
+asyncio
+-------
+
+* On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default
+ if :func:`os.pidfd_open` is available and functional instead of
+ :class:`~asyncio.ThreadedChildWatcher`.
+ (Contributed by Kumar Aditya in :gh:`98024`.)
+
+* The child watcher classes :class:`~asyncio.MultiLoopChildWatcher`,
+ :class:`~asyncio.FastChildWatcher` and
+ :class:`~asyncio.SafeChildWatcher` are deprecated and
+ will be removed in Python 3.14. It is recommended to not manually
+ configure a child watcher as the event loop now uses the best available
+ child watcher for each platform (:class:`~asyncio.PidfdChildWatcher`
+ if supported and :class:`~asyncio.ThreadedChildWatcher` otherwise).
+ (Contributed by Kumar Aditya in :gh:`94597`.)
+
+
pathlib
-------