Skip to content

Commit e5972a4

Browse files
AA-Turnermiss-islington
authored andcommitted
pythonGH-109190: Copyedit 3.12 What's New: PEP 684 (pythonGH-109657)
(cherry picked from commit e94a223) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 0015a9a commit e5972a4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/whatsnew/3.12.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,11 @@ can be used to customize buffer creation.
293293
PEP 684: A Per-Interpreter GIL
294294
------------------------------
295295

296-
Sub-interpreters may now be created with a unique GIL per interpreter.
296+
:pep:`684` introduces a per-interpreter :term:`GIL <global interpreter lock>`,
297+
so that sub-interpreters may now be created with a unique GIL per interpreter.
297298
This allows Python programs to take full advantage of multiple CPU
298-
cores.
299+
cores. This is currently only available through the C-API,
300+
though a Python API is :pep:`anticipated for 3.13 <554>`.
299301

300302
Use the new :c:func:`Py_NewInterpreterFromConfig` function to
301303
create an interpreter with its own GIL::
@@ -314,8 +316,6 @@ create an interpreter with its own GIL::
314316
For further examples how to use the C-API for sub-interpreters with a
315317
per-interpreter GIL, see :source:`Modules/_xxsubinterpretersmodule.c`.
316318

317-
A Python API is anticipated for 3.13. (See :pep:`554`.)
318-
319319
(Contributed by Eric Snow in :gh:`104210`, etc.)
320320

321321
.. _whatsnew312-pep669:

0 commit comments

Comments
 (0)