| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| Fixed the :mod:`multiprocessing` ``"forkserver"`` start method forkserver | ||
| process to correctly inherit the parent's :data:`sys.path` during the importing | ||
| of :func:`multiprocessing.set_forkserver_preload` modules in the same manner as | ||
| :data:`sys.path` is configured in workers before executing work items. | ||
|
|
||
| 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. | ||
|
|
||
| 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` | ||
| at multiprocessing import time used in the worker ``sys.path``. | ||
|
|
||
| Potentially leading to incorrect imports from the wrong location during | ||
| preload. We are unaware of that actually happening. The issue was discovered | ||
| by someone observing unexpected preload performance gains. | ||
|
|
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.