summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-09-22 13:29:36 (GMT)
committerGitHub <noreply@github.com>2023-09-22 13:29:36 (GMT)
commit388f90a6733df2fb8b6341dff70b56b609631a04 (patch)
treebfa894a0aa6c7253f5f56e1f3650849bd543f8c2
parent5030d386f8875d6049b78cc0c3325761ec272cb2 (diff)
downloadcpython-388f90a6733df2fb8b6341dff70b56b609631a04.zip
cpython-388f90a6733df2fb8b6341dff70b56b609631a04.tar.gz
cpython-388f90a6733df2fb8b6341dff70b56b609631a04.tar.bz2
[3.12] GH-109190: Copyedit 3.12 What's New: PEP 684 (GH-109657) (#109729)
GH-109190: Copyedit 3.12 What's New: PEP 684 (GH-109657) (cherry picked from commit e94a2232eac07eb526ec93ef01699513cf9b0fa3) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
-rw-r--r--Doc/whatsnew/3.12.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index d38c65b..ac9e1fb 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -291,9 +291,11 @@ can be used to customize buffer creation.
PEP 684: A Per-Interpreter GIL
------------------------------
-Sub-interpreters may now be created with a unique GIL per interpreter.
+:pep:`684` introduces a per-interpreter :term:`GIL <global interpreter lock>`,
+so that sub-interpreters may now be created with a unique GIL per interpreter.
This allows Python programs to take full advantage of multiple CPU
-cores.
+cores. This is currently only available through the C-API,
+though a Python API is :pep:`anticipated for 3.13 <554>`.
Use the new :c:func:`Py_NewInterpreterFromConfig` function to
create an interpreter with its own GIL::
@@ -312,8 +314,6 @@ create an interpreter with its own GIL::
For further examples how to use the C-API for sub-interpreters with a
per-interpreter GIL, see :source:`Modules/_xxsubinterpretersmodule.c`.
-A Python API is anticipated for 3.13. (See :pep:`554`.)
-
(Contributed by Eric Snow in :gh:`104210`, etc.)
.. _whatsnew312-pep669: