| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…hild processes (pythonGH-146005) Propagate all -X command line options to multiprocessing spawned child Python processes. (cherry picked from commit 1efe441) Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
There was a problem hiding this comment.
Thanks! 🚀
Sorry, something went wrong.
| child processes spawned by :mod:`multiprocessing`, not just a hard-coded | ||
| subset. This makes the behavior consistent between default "spawn" and | ||
| "forkserver" start methods and the old "fork" start method. The options | ||
| that were previously not propagated are: ``context_aware_warnings``, |
There was a problem hiding this comment.
Strictly speaking, not all of these apply to 3.13, for examply lazy_imports is 3.15. We haven't been that picky in the 3.14 backport, either, and the tests pass, because unsupported -X options are just silently ignored.
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for catching this and for opening #155965!
Using os_helper.temp_dir() should make the test portable on Windows.
Good point about the version-specific options as well.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Propagate all -X command line options to multiprocessing spawned child Python processes. (cherry picked from commit 1efe441)