New submission from Eric Snow <ericsnowcurren...@gmail.com>:

os.fork() potentially has some problematic behavior when called from a 
subinterpreter.  In additional to the normal fork+threads madness, there's the 
question of what to do with existing subinterpreters.  The simplest solution is 
to simply disallow fork in a subinterpreter and then wipe out all 
subinterpreters in the child process post-fork (if os.fork() called in the main 
interpreter).

----------
assignee: eric.snow
components: Interpreter Core
messages: 325181
nosy: eric.snow, gregory.p.smith
priority: normal
severity: normal
stage: needs patch
status: open
title: Disallow fork in a subinterpreter.
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34651>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to