Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
[3.13] gh-143706: Fix sys.argv not set during multiprocessing forkserver__main__ preload (GH-143717)#143821
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
…orkserver `__main__` preload (pythonGH-143717)The forkserver was not passing sys.argv to its main() function, causingsys.argv to be empty during `__main__` module import in child processes. Thisfixes a non-obvious regression inadvertently introduced by thepythongh-126631 mainpreloading fix.(cherry picked from commit298d544)
bedevere-bot commentedJan 14, 2026
🤖 New build scheduled with the buildbot fleet by@gpshead for commite95d1c9 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F143821%2Fmerge If you want to schedule another build, you need to add the🔨 test-with-buildbots label again. |
480f480 intopython:3.13Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
The forkserver was not passing sys.argv to its main() function, causing sys.argv to be empty during
__main__module import in child processes. This fixes a non-obvious regression inadvertently introduced by thegh-126631 main preloading fix.(cherry picked from commit298d544)
sys.argvno longer correct during main module execution usingforkserver#143706