Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-108223: Refer to PEP 703 as Free Threading #112780

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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