Skip to content

Commit 87709aa

Browse files
committed
pythongh-108223: Refer to PEP 703 as Free Threading
1 parent f8c0198 commit 87709aa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Doc/using/configure.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,10 @@ General Options
292292
.. option:: --disable-gil
293293

294294
Enables **experimental** support for running Python without the
295-
:term:`global interpreter lock` (GIL).
295+
:term:`global interpreter lock` (GIL): free threading build.
296+
297+
Defines the ``Py_GIL_DISABLED`` macro and adds ``"t"`` to
298+
:data:`sys.abiflags`.
296299

297300
See :pep:`703` "Making the Global Interpreter Lock Optional in CPython".
298301

Lib/test/libregrtest/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def get_build_info():
291291

292292
# --disable-gil
293293
if sysconfig.get_config_var('Py_GIL_DISABLED'):
294-
build.append("nogil")
294+
build.append("free_threading")
295295

296296
if hasattr(sys, 'gettotalrefcount'):
297297
# --with-pydebug

0 commit comments

Comments
 (0)