summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API/2022-10-24-12-09-17.gh-issue-98610.PLX2Np.rst
blob: 05bcfae1b61b4067934a9498839cbd9f359f47f8 (plain)
1
2
3
4
5
6
7
8
9
Some configurable capabilities of sub-interpreters have changed.
They always allow subprocesses (:mod:`subprocess`) now, whereas before
subprocesses could be optionally disaallowed for a sub-interpreter.
Instead :func:`os.exec` can now be disallowed.
Disallowing daemon threads is now supported.  Disallowing all threads
is still allowed, but is never done by default.
Note that the optional restrictions are only available through
``_Py_NewInterpreterFromConfig()``, which isn't a public API.
They do not affect the main interpreter, nor :c:func:`Py_NewInterpreter`.