summaryrefslogtreecommitdiffstats
path: root/Lib/test/support
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2023-11-20 13:52:00 (GMT)
committerGitHub <noreply@github.com>2023-11-20 13:52:00 (GMT)
commit3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787 (patch)
treef79786b7e97064b1a71840ac9c1421e87d6adc15 /Lib/test/support
parent1c8f912ebdfdb146cd7dd2d7a3a67d2c5045ddb0 (diff)
downloadcpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.zip
cpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.tar.gz
cpython-3b3ec0d77f0f836cbe5ff1ab97efcc8b7ed5d787.tar.bz2
gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864)
Rename Py_NOGIL to Py_GIL_DISABLED
Diffstat (limited to 'Lib/test/support')
-rw-r--r--Lib/test/support/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
index bb9f998..eec5498 100644
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -796,7 +796,7 @@ def check_cflags_pgo():
return any(option in cflags_nodist for option in pgo_options)
-if sysconfig.get_config_var('Py_NOGIL'):
+if sysconfig.get_config_var('Py_GIL_DISABLED'):
_header = 'PHBBInP'
else:
_header = 'nP'