-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Multiprocessing not propagating -Xfrozen_modules=off #106723
Labels
3.11
only security fixes
3.12
bugs and security fixes
topic-multiprocessing
type-bug
An unexpected behavior, bug, or error
Comments
gpshead
added a commit
that referenced
this issue
Jul 28, 2023
…eters (#106724) Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 28, 2023
…nterpreters (pythonGH-106724) (cherry picked from commit 3dcac78) Co-authored-by: Felipe A. Hernandez <[email protected]> Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 28, 2023
…nterpreters (pythonGH-106724) (cherry picked from commit 3dcac78) Co-authored-by: Felipe A. Hernandez <[email protected]> Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
kumaraditya303
added a commit
that referenced
this issue
Jul 28, 2023
…interpreters (GH-106724) (#107368) gh-106723: forward -Xfrozen_modules option to spawned process interpreters (GH-106724) (cherry picked from commit 3dcac78) Co-authored-by: Felipe A. Hernandez <[email protected]> Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
kumaraditya303
added a commit
that referenced
this issue
Jul 28, 2023
…interpreters (GH-106724) (#107367) gh-106723: forward -Xfrozen_modules option to spawned process interpreters (GH-106724) (cherry picked from commit 3dcac78) Co-authored-by: Felipe A. Hernandez <[email protected]> Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.11
only security fixes
3.12
bugs and security fixes
topic-multiprocessing
type-bug
An unexpected behavior, bug, or error
Bug report
After python3.11 changes around frozen imports, when using multiprocessing contexts other than
fork
, the newly added-Xfrozen_modules=off
isn't passed to spawned process interpreters.Simple snippet demonstrating the issue:
The issue seems to be
subprocess._args_from_interpreter_flags
not honoringfrozen_modules
key fromsys._xoptions
.$ python -Xfrozen_modules=off -c 'import subprocess;print(subprocess._args_from_interpreter_flags())' []
Your environment
python 3.11.4
Linked PRs
The text was updated successfully, but these errors were encountered: