summaryrefslogtreecommitdiffstats
path: root/Lib/test/pythoninfo.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-08-21 20:16:23 (GMT)
committerGitHub <noreply@github.com>2023-08-21 20:16:23 (GMT)
commit5afe0c17ca14df430736e549542a4b85e7e7c7ac (patch)
treefa9a02214fff5a63d2e2c937687cf16a1e397f3c /Lib/test/pythoninfo.py
parentd63972e289e05b0d82e59f32f107312a8b3de7b5 (diff)
downloadcpython-5afe0c17ca14df430736e549542a4b85e7e7c7ac.zip
cpython-5afe0c17ca14df430736e549542a4b85e7e7c7ac.tar.gz
cpython-5afe0c17ca14df430736e549542a4b85e7e7c7ac.tar.bz2
gh-108223: test.pythoninfo and libregrtest log Py_NOGIL (#108238)
Enable with --disable-gil --without-pydebug: $ make pythoninfo|grep NOGIL sysconfig[Py_NOGIL]: 1 $ ./python -m test ... == Python build: nogil debug ...
Diffstat (limited to 'Lib/test/pythoninfo.py')
-rw-r--r--Lib/test/pythoninfo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index e4e098d..ad7d529 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -492,6 +492,7 @@ def collect_sysconfig(info_add):
'PY_STDMODULE_CFLAGS',
'Py_DEBUG',
'Py_ENABLE_SHARED',
+ 'Py_NOGIL',
'SHELL',
'SOABI',
'prefix',