Skip to content

Commit 702e0b7

Browse files
committed
NEWS entry
1 parent c40b26d commit 702e0b7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)