[New-bugs-announce] [issue34651] Disallow fork in a subinterpreter.

Eric Snow report at bugs.python.org
Wed Sep 12 17:04:23 EDT 2018


New submission from Eric Snow <ericsnowcurrently at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34651>
_______________________________________


More information about the New-bugs-announce mailing list