You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optionally allow exceptions from multiprocessing forkserver preload imports to be raised #141860
This is more of a development debugging tool, but the imports done in a child process due to multiprocessing.set_forkserver_preload() have always had their errors silently ignored. In many situations this is desirable, we don't want to break forkserver. But it makes debugging and diagnosis of problems in the forkserver process hard, leading to silently lower performance.
Lets add an optional keyword argument to allow preloads to raise errors. This comes from work done originally in #99515 for issue #98552. PR #141859 is the modern take on this.
Activity
gh-141860: Add on_error= keyword arg to `multiprocessing.set_forkserv…
pythongh-141860: Add on_error= keyword arg to `multiprocessing.set_fo…