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 0dc1e51 commit b494a16Copy full SHA for b494a16
Lib/multiprocessing/context.py
@@ -320,12 +320,7 @@ def _check_available(self):
320
'spawn': SpawnContext(),
321
'forkserver': ForkServerContext(),
322
}
323
- if sys.platform == 'darwin':
324
- # bpo-33725: running arbitrary code after fork() is no longer reliable
325
- # on macOS since macOS 10.14 (Mojave). Use spawn by default instead.
326
- _default_context = DefaultContext(_concrete_contexts['spawn'])
327
- else:
328
- _default_context = DefaultContext(_concrete_contexts['fork'])
+ _default_context = DefaultContext(_concrete_contexts['fork'])
329
330
else:
331
0 commit comments