Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] gh-143706: Fix sys.argv not set during multiprocessing forkserver__main__ preload (GH-143717)#143763

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

Merged
gpshead merged 1 commit intopython:3.14frommiss-islington:backport-298d544-3.14
Jan 13, 2026

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedJan 12, 2026
edited by bedevere-appbot
Loading

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)

Co-authored-by: Gregory P. Smith68491+gpshead@users.noreply.github.com

…er `__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)Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
@gpsheadgpsheadenabled auto-merge (squash)January 12, 2026 23:52
@gpsheadgpshead merged commitf663aa2 intopython:3.14Jan 13, 2026
49 checks passed
@miss-islingtonmiss-islington deleted the backport-298d544-3.14 branchJanuary 13, 2026 00:13
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpsheadgpsheadAwaiting requested review from gpsheadgpshead is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@gpshead

[8]ページ先頭

©2009-2026 Movatter.jp