summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-12-06 11:55:58 (GMT)
committerGitHub <noreply@github.com>2023-12-06 11:55:58 (GMT)
commitf8852634edf1232ac1aa4561e34796b52f9f7aa2 (patch)
treeabfece3e469483901b59d766fb10b975d57393a3
parent00cce0fe495ee820cd3ca5878bdbe3dd65b1be7b (diff)
downloadcpython-f8852634edf1232ac1aa4561e34796b52f9f7aa2.zip
cpython-f8852634edf1232ac1aa4561e34796b52f9f7aa2.tar.gz
cpython-f8852634edf1232ac1aa4561e34796b52f9f7aa2.tar.bz2
gh-108223: Refer to PEP 703 as Free Threading (#112780)
-rw-r--r--Doc/using/configure.rst5
-rw-r--r--Lib/test/libregrtest/utils.py2
2 files changed, 5 insertions, 2 deletions
diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst
index 56d2d6d..cb7eda4 100644
--- a/Doc/using/configure.rst
+++ b/Doc/using/configure.rst
@@ -292,7 +292,10 @@ General Options
.. option:: --disable-gil
Enables **experimental** support for running Python without the
- :term:`global interpreter lock` (GIL).
+ :term:`global interpreter lock` (GIL): free threading build.
+
+ Defines the ``Py_GIL_DISABLED`` macro and adds ``"t"`` to
+ :data:`sys.abiflags`.
See :pep:`703` "Making the Global Interpreter Lock Optional in CPython".
diff --git a/Lib/test/libregrtest/utils.py b/Lib/test/libregrtest/utils.py
index d4972ce..26481e7 100644
--- a/Lib/test/libregrtest/utils.py
+++ b/Lib/test/libregrtest/utils.py
@@ -291,7 +291,7 @@ def get_build_info():
# --disable-gil
if sysconfig.get_config_var('Py_GIL_DISABLED'):
- build.append("nogil")
+ build.append("free_threading")
if hasattr(sys, 'gettotalrefcount'):
# --with-pydebug