Skip to content

Commit

Permalink
pythongh-108223: Refer to PEP 703 as Free Threading (python#112780)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored and aisk committed Feb 11, 2024
1 parent d85f3e4 commit 1a8ae85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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".

Expand Down
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a8ae85

Please sign in to comment.