forkserver.set_forkserver_preload() fails #117378
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
stdlib
Python modules in the Lib dir
topic-multiprocessing
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
Bug in
def main()
: https://github.com/python/cpython/blob/main/Lib/multiprocessing/forkserver.py#L167The param
sys_path
is ignored. Result:ModuleNotFoundError
for preloaded modules.a) Using
sys_path
fixes this issueb) Maybe better remove "pass" and report and error to simplify problem solving
CPython versions tested on:
3.12
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: