[New-bugs-announce] [issue40234] Disallow daemon threads in subinterpreters optionally.
Eric Snow
report at bugs.python.org
Wed Apr 8 19:16:52 EDT 2020
New submission from Eric Snow <ericsnowcurrently at gmail.com>:
In bpo-37266 we strictly disallowed creation of daemon threads in subinterpreters. However, this is backward-incompatible for existing users of the subinterpreter C-API (such as mod-wsgi).
Rather than reverting that change I suggest that we make it opt-in through the interpreter config. That would preserve backward-compatibility. It would also make it so we can disallow daemon threads in subinterpreters created through PEP 554. We could also deprecate use of daemon threads in *all* subinterpreters, with the goal of dropping support after a while.
----------
components: Interpreter Core
messages: 366029
nosy: eric.snow, grahamd, vstinner
priority: normal
severity: normal
stage: needs patch
status: open
title: Disallow daemon threads in subinterpreters optionally.
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40234>
_______________________________________
More information about the New-bugs-announce
mailing list