FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-126631: gh-137996: fix pre-loading of `__main__` (GH-135295) by gpshead · Pull Request #138609 · python/cpython · GitHub

Repository navigation

[3.13] gh-126631: gh-137996: fix pre-loading of __main__ (GH-135295) - #138609

Merged
gpshead merged 1 commit into
python:3.13from
gpshead:backport-0912b3a-3.13
Sep 8, 2025
Merged

gpshead merged 1 commit into
python:3.13from
gpshead:backport-0912b3a-3.13

Conversation

gpshead commented Sep 7, 2025

Copy link
Copy Markdown
Member

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.


(cherry picked from commit 0912b3a)

pythonGH-135295)

pythongh-126631: pythongh-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.

---------
(cherry picked from commit 0912b3a)

Co-authored-by: Duane Griffin <duaneg@dghda.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
bedevere-app Bot added the type-bug An unexpected behavior, bug, or error label Sep 7, 2025
gpshead self-assigned this Sep 7, 2025
gpshead merged commit 9a6137a into python:3.13 Sep 8, 2025
70 of 72 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL