Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-100228: Document the os.fork threads DeprecationWarning. #109767

Merged
merged 9 commits into from
Sep 23, 2023
Prev Previous commit
Next Next commit
Update Doc/library/concurrent.futures.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
gpshead and hugovk committed Sep 23, 2023
commit f47b99c8dce17201167b480e86ccd4885e4cfa1c
2 changes: 1 addition & 1 deletion Doc/library/concurrent.futures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ to a :class:`ProcessPoolExecutor` will result in deadlock.
.. versionchanged:: 3.12
On POSIX systems, if your application has multiple threads and the
:mod:`multiprocessing` context uses the ``"fork"`` start method:
The :func:`os.fork` called internally to spawn workers may raise a
The :func:`os.fork` function called internally to spawn workers may raise a
:exc:`DeprecationWarning`. Pass a *mp_context* configured to use a
different start method. See the :func:`os.fork` documentation for
further explanation.
Expand Down
Loading