We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40b26d commit 702e0b7Copy full SHA for 702e0b7
Misc/NEWS.d/next/Library/2024-11-07-01-40-11.gh-issue-117378.o9O5uM.rst
@@ -0,0 +1,11 @@
1
+Fixed the :mod:`multiprocessing` ``"forkserver"`` start method forkserver
2
+process was to correctly inherit the parent's :data:`sys.path` during the
3
+importing of :func:`multiprocessing.set_forkserver_preload` modules in the
4
+same manner as :data:`sys.path` is configured when executing work items in
5
+the worker processes.
6
+
7
+This bug could cause some forkserver module preloading to silently fail to
8
+be preloaded, leading to a performance degration in child processes due to
9
+additional repeated work. It could also have led to a side effect of ``""``
10
+still being in :data:`sys.path` during forkserver preload imports instead of
11
+the absolute path of the directory that workers see.
0 commit comments