Skip to content

gh-126631: fix pre-loading of __main__ #135295

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

duaneg
Copy link
Contributor

@duaneg duaneg commented Jun 9, 2025

The main_path parameter was renamed init_main_from_name, update the forkserver code accordingly.

The `main_path` parameter was renamed `init_main_from_name`, update the
forkserver code accordingly.
@duaneg duaneg marked this pull request as ready for review June 10, 2025 09:45
@duaneg duaneg requested a review from gpshead as a code owner June 10, 2025 09:45
@duaneg
Copy link
Contributor Author

duaneg commented Jun 10, 2025

If/when #135335 is fixed we can remove the explicit flush from the test script. Likewise, if/when this is fixed the regression test in the PR for that issue can be simplified to just use a script (preloading __main__) instead of having to create and import a module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant