-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-76327: freeze_support for non-Windows platforms #104607
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
base: main
Are you sure you want to change the base?
Conversation
This was exactly the same patch from [PyInstaller](https://github.com/pyinstaller/pyinstaller/blob/develop/PyInstaller/hooks/rthooks/pyi_rth_multiprocessing.py#L26).
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Backport needed. |
Tests done. Note: if we don't modify
|
The following commit authors need to sign the Contributor License Agreement: |
gh-76327: freeze_support for non-Windows platforms
This is a brief fix for the multiprocessing frozen executable infinite loop issue on non-Windows platform. #76327
And the
freeze_support
patch was exactly the same patch from PyInstaller, which already worked for them.This patch does not influence
PyInstaller
.However, this patch will enable
cx_freeze
or other similar tools to build multiprocessing apps for Linux and Mac.📚 Documentation preview 📚: https://cpython-previews--104607.org.readthedocs.build/