Adjust the Optional Restrictions of _Py_NewInterpreterFromConfig() #98610
Labels
3.12
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-subinterpreters
type-feature
A feature request or enhancement
(prerequisite: gh-98608)
Currently, the optional restrictions on subinterpreters are:
When we added those, were were being a bit conservative. At this point we should adjust to the following:
That means we would stop disallowing subprocess (even if fork or exec are disabled). We'd add an option for "exec". We'd also add an option for daemon threads and disable only those (rather than all threads) by default for isolated interpreters.
CC @gpshead
The text was updated successfully, but these errors were encountered: