SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 41 Python

gh-143706: Fix sys.argv not set during multiprocessing forkserver `__main__` preload (#143717)

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 the gh-126631 main
preloading fix.
G
Gregory P. Smith committed
298d5440eb83f2dfd5651bac86d1592ec358d54c
Parent: d5882c5
Committed by GitHub <noreply@github.com> on 1/12/2026, 11:47:21 PM