.. 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".
# --disable-gil
if sysconfig.get_config_var('Py_GIL_DISABLED'):
- build.append("nogil")
+ build.append("free_threading")
if hasattr(sys, 'gettotalrefcount'):
# --with-pydebug