@@ -308,7 +308,7 @@ the bytes over a shared :mod:`socket <socket>` or
308308
309309 .. note ::
310310 The executor may replace uncaught exceptions from *initializer *
311- with :class: `~concurrent.futures.interpreter .ExecutionFailed `.
311+ with :class: `~concurrent.interpreters .ExecutionFailed `.
312312
313313 Other caveats from parent :class: `ThreadPoolExecutor ` apply here.
314314
@@ -320,11 +320,11 @@ likewise serializes the return value when sending it back.
320320When a worker's current task raises an uncaught exception, the worker
321321always tries to preserve the exception as-is. If that is successful
322322then it also sets the ``__cause__ `` to a corresponding
323- :class: `~concurrent.futures.interpreter .ExecutionFailed `
323+ :class: `~concurrent.interpreters .ExecutionFailed `
324324instance, which contains a summary of the original exception.
325325In the uncommon case that the worker is not able to preserve the
326326original as-is then it directly preserves the corresponding
327- :class: `~concurrent.futures.interpreter .ExecutionFailed `
327+ :class: `~concurrent.interpreters .ExecutionFailed `
328328instance instead.
329329
330330
@@ -379,6 +379,11 @@ in a REPL or a lambda should not be expected to work.
379379 default in absence of a *mp_context * parameter. This feature is incompatible
380380 with the "fork" start method.
381381
382+ .. note ::
383+ Bugs have been reported when using the *max_tasks_per_child * feature that
384+ can result in the :class: `ProcessPoolExecutor ` hanging in some
385+ circumstances. Follow its eventual resolution in :gh: `115634 `.
386+
382387 .. versionchanged :: 3.3
383388 When one of the worker processes terminates abruptly, a
384389 :exc: `~concurrent.futures.process.BrokenProcessPool ` error is now raised.
@@ -715,15 +720,6 @@ Exception classes
715720
716721 .. versionadded :: 3.14
717722
718- .. exception :: ExecutionFailed
719-
720- Raised from :class: `~concurrent.futures.InterpreterPoolExecutor ` when
721- the given initializer fails or from
722- :meth: `~concurrent.futures.Executor.submit ` when there's an uncaught
723- exception from the submitted task.
724-
725- .. versionadded :: 3.14
726-
727723.. currentmodule :: concurrent.futures.process
728724
729725.. exception :: BrokenProcessPool
0 commit comments