]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-115634: document ProcessPoolExecutor max_tasks_per_child bug (GH-140897...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 30 Dec 2025 23:29:56 +0000 (00:29 +0100)
committerGitHub <noreply@github.com>
Tue, 30 Dec 2025 23:29:56 +0000 (23:29 +0000)
gh-115634: document ProcessPoolExecutor max_tasks_per_child bug (GH-140897)
(cherry picked from commit 04899b8539ab83657a4495203f26b3cb1a6f46dc)

Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Doc/library/concurrent.futures.rst

index c2e2f7f820f4ef1e5b08951d8eec82f7099bda85..18d92e8e9959a9389af6202626511d7d8c9cc383 100644 (file)
@@ -379,6 +379,11 @@ in a REPL or a lambda should not be expected to work.
    default in absence of a *mp_context* parameter. This feature is incompatible
    with the "fork" start method.
 
+   .. note::
+      Bugs have been reported when using the *max_tasks_per_child* feature that
+      can result in the :class:`ProcessPoolExecutor` hanging in some
+      circumstances. Follow its eventual resolution in :gh:`115634`.
+
    .. versionchanged:: 3.3
       When one of the worker processes terminates abruptly, a
       :exc:`~concurrent.futures.process.BrokenProcessPool` error is now raised.