Skip to content

Commit 388f90a

Browse files
[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 e94a223) Co-authored-by: Adam Turner <[email protected]>
1 parent 5030d38 commit 388f90a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/whatsnew/3.12.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,11 @@ can be used to customize buffer creation.
291291
PEP 684: A Per-Interpreter GIL
292292
------------------------------
293293

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

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

315-
A Python API is anticipated for 3.13. (See :pep:`554`.)
316-
317317
(Contributed by Eric Snow in :gh:`104210`, etc.)
318318

319319
.. _whatsnew312-pep669:

0 commit comments

Comments
 (0)