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 e545bae commit 7dcf6e1Copy full SHA for 7dcf6e1
Lib/multiprocessing/forkserver.py
@@ -146,9 +146,9 @@ def ensure_running(self):
146
'main(%d, %d, %r, **%r)')
147
148
if self._preload_modules:
149
- desired_keys = {'main_path', 'sys_path'}
+ desired_keys = {'main_path': 'init_main_from_path', 'sys_path': 'sys_path'}
150
data = spawn.get_preparation_data('ignore')
151
- main_kws = {x: y for x, y in data.items() if x in desired_keys}
+ main_kws = {x: data[y] for x, y in desired_keys.items() if y in data}
152
else:
153
main_kws = {}
154
0 commit comments