File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -291,9 +291,11 @@ can be used to customize buffer creation.
291
291
PEP 684: A Per-Interpreter GIL
292
292
------------------------------
293
293
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.
295
296
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 >`.
297
299
298
300
Use the new :c:func: `Py_NewInterpreterFromConfig ` function to
299
301
create an interpreter with its own GIL::
@@ -312,8 +314,6 @@ create an interpreter with its own GIL::
312
314
For further examples how to use the C-API for sub-interpreters with a
313
315
per-interpreter GIL, see :source: `Modules/_xxsubinterpretersmodule.c `.
314
316
315
- A Python API is anticipated for 3.13. (See :pep: `554 `.)
316
-
317
317
(Contributed by Eric Snow in :gh: `104210 `, etc.)
318
318
319
319
.. _whatsnew312-pep669 :
You can’t perform that action at this time.
0 commit comments