Skip to content
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

gh-117378: Fix multiprocessing forkserver preload sys.path inheritance. #126538

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
news sphinx-lint fix
  • Loading branch information
gpshead committed Nov 9, 2024
commit 2444519c4959bf6b0014cc31a289c826aacefaef
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ of :func:`multiprocessing.set_forkserver_preload` modules in the same manner as

This bug caused some forkserver module preloading to silently fail to preload.
This manifested as a performance degration in child processes when the
`sys.path` was required due to additional repeated work in every worker.
``sys.path`` was required due to additional repeated work in every worker.

It could also have a side effect of ``""`` remaining in :data:`sys.path` during
forkserver preload imports instead of the absolute path from :func:`os.getcwd`
Expand Down
Loading