]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-108223: Refer to PEP 703 as Free Threading (#112780)
authorVictor Stinner <vstinner@python.org>
Wed, 6 Dec 2023 11:55:58 +0000 (12:55 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Dec 2023 11:55:58 +0000 (12:55 +0100)
Doc/using/configure.rst
Lib/test/libregrtest/utils.py

index 56d2d6dc4ab5f1243c0e8a1475b702c9a1ab7771..cb7eda42fe3fad0a9b15b1010464221b634e165e 100644 (file)
@@ -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".
 
index d4972ce4a50d2a16d69dc82ad3d1d296a531dad4..26481e71221ade03b174f1bbde8986fbb4c6a08b 100644 (file)
@@ -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