diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2023-05-03 03:40:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 03:40:00 (GMT) |
commit | 292076a9aa29aba1023340a0d24252a7b27a454e (patch) | |
tree | 3268355a188506819fe9399401b65d55587f9e8e /Misc | |
parent | de64e7561680fdc5358001e9488091e75d4174a3 (diff) | |
download | cpython-292076a9aa29aba1023340a0d24252a7b27a454e.zip cpython-292076a9aa29aba1023340a0d24252a7b27a454e.tar.gz cpython-292076a9aa29aba1023340a0d24252a7b27a454e.tar.bz2 |
gh-104109: Expose Py_NewInterpreterFromConfig() in the Public C-API (gh-104110)
We also expose PyInterpreterConfig. This is part of the PEP 684 (per-interpreter GIL) implementation. We will add docs as soon as we can.
FYI, I'm adding the new config field for per-interpreter GIL in gh-99114.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2023-05-02-21-05-54.gh-issue-104109.0tnDZV.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2023-05-02-21-05-54.gh-issue-104109.0tnDZV.rst b/Misc/NEWS.d/next/C API/2023-05-02-21-05-54.gh-issue-104109.0tnDZV.rst new file mode 100644 index 0000000..2ffc0fa --- /dev/null +++ b/Misc/NEWS.d/next/C API/2023-05-02-21-05-54.gh-issue-104109.0tnDZV.rst @@ -0,0 +1,5 @@ +We've added ``Py_NewInterpreterFromConfig()`` and ``PyInterpreterConfig`` to +the public C-API (but not the stable ABI; not yet at least). The new +function may be used to create a new interpreter with various features +configured. The function was added to support PEP 684 (per-interpreter +GIL). |