SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72153 0 0 Python

gh-126631: gh-137996: fix pre-loading of `__main__` (GH-135295)

gh-126631: gh-137996: fix pre-loading of `__main__`

The `main_path` parameter was renamed `init_main_from_name`, update the
forkserver code accordingly.  This was leading to slower startup times when people
were trying to preload the main module.

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
D
Duane Griffin committed
0912b3a6dbd226bea79eb8d70d5a06230804d4cb
Parent: 8ed5a2b
Committed by GitHub <noreply@github.com> on 9/7/2025, 7:49:54 AM