-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-80334: fix multiprocessing.freeze_support for other spawn platforms #134462
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
Conversation
â¦ge to specify spawn method instead of platform
â1¤7, not just win32.
reading things over, i'm convinced you are correct that this needs to not just use a win32 check. i moved my #134617 changes over into this PR. |
â¦atforms (pythonGH-134462) Doc/library/multiprocessing.rst: freeze_support: Change to specify spawn method instead of platform Have multiprocessing.freeze_support() enable on spawn, not just win32. --------- (cherry picked from commit 80284b5c5eebd0e603c38322f94a97a2853ceeba) Co-authored-by: Eddy Mulyono <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
â¦atforms (pythonGH-134462) Doc/library/multiprocessing.rst: freeze_support: Change to specify spawn method instead of platform Have multiprocessing.freeze_support() enable on spawn, not just win32. --------- (cherry picked from commit 80284b5) Co-authored-by: Eddy Mulyono <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
GH-134619 is a backport of this pull request to the 3.14 branch. |
GH-134620 is a backport of this pull request to the 3.13 branch. |
â¦latforms (GH-134462) (#134620) gh-80334: fix multiprocessing.freeze_support for other spawn platforms (GH-134462) Doc/library/multiprocessing.rst: freeze_support: Change to specify spawn method instead of platform Have multiprocessing.freeze_support() enable on spawn, not just win32. --------- (cherry picked from commit 80284b5) Co-authored-by: Eddy Mulyono <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
â¦latforms (GH-134462) (#134619) gh-80334: fix multiprocessing.freeze_support for other spawn platforms (GH-134462) Doc/library/multiprocessing.rst: freeze_support: Change to specify spawn method instead of platform Have multiprocessing.freeze_support() enable on spawn, not just win32. --------- (cherry picked from commit 80284b5) Co-authored-by: Eddy Mulyono <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
|
multiprocessing.freeze_support() now checks for work on any "spawn"
start method platform rather than only on Windows.
ð Documentation preview ð: https://cpython-previews--134462.org.readthedocs.build/en/134462/library/multiprocessing.html#multiprocessing.freeze_support