SIGN IN SIGN UP

bpo-34651: Only allow the main interpreter to fork. (gh-9279)

When os.fork() is called (on platforms that support it) all threads but the current one are destroyed in the child process. Consequently we must ensure that all but the associated interpreter are likewise destroyed. The main interpreter is critical for runtime operation, so we must ensure that fork only happens in the main interpreter.

https://bugs.python.org/issue34651
E
Eric Snow committed
5903296045b586b9cd1fce0b1e02caf896028d1d
Parent: 3faaa88
Committed by GitHub <noreply@github.com> on 9/14/2018, 9:17:20 PM