This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients eric.snow, grahamd, vstinner
Date 2020-04-08.23:16:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586387812.86.0.0296012569674.issue40234@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-04-08 23:16:52eric.snowsetrecipients: + eric.snow, vstinner, grahamd
2020-04-08 23:16:52eric.snowsetmessageid: <1586387812.86.0.0296012569674.issue40234@roundup.psfhosted.org>
2020-04-08 23:16:52eric.snowlinkissue40234 messages
2020-04-08 23:16:52eric.snowcreate