Sync whatsnew with the edit I made in the 3.12 backport PR. (#109807)

A post main merge edit to the text was added in the 3.12 backport PR.
  e38d7104b8

This includes that in main.  It's a minor edit over #109767 to resolve the comment there.
This commit is contained in:
Gregory P. Smith 2023-09-24 10:27:24 -07:00 committed by GitHub
parent 40d1de7581
commit e81bd3fa16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1071,7 +1071,9 @@ Deprecated
with the POSIX platform when doing so. Even if such code *appeared* to work. with the POSIX platform when doing so. Even if such code *appeared* to work.
We added the warning to to raise awareness as issues encounted by code doing We added the warning to to raise awareness as issues encounted by code doing
this are becoming more frequent. See the :func:`os.fork` documentation for this are becoming more frequent. See the :func:`os.fork` documentation for
more details. more details along with `this discussion on fork being incompatible with threads
<https://discuss.python.org/t/33555>`_ for *why* we're now surfacing this
longstanding platform compatibility problem to developers.
When this warning appears due to usage of :mod:`multiprocessing` or When this warning appears due to usage of :mod:`multiprocessing` or
:mod:`concurrent.futures` the fix is to use a different :mod:`concurrent.futures` the fix is to use a different