We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f848b2b commit 15425daCopy full SHA for 15425da
Lib/test/libregrtest/utils.py
@@ -230,6 +230,11 @@ def get_build_info():
230
ldflags_nodist = sysconfig.get_config_var('PY_LDFLAGS_NODIST') or ''
231
232
build = []
233
+
234
+ # --disable-gil
235
+ if sysconfig.get_config_var('Py_NOGIL'):
236
+ build.append("nogil")
237
238
if hasattr(sys, 'gettotalrefcount'):
239
# --with-pydebug
240
build.append('debug')
Lib/test/pythoninfo.py
@@ -493,6 +493,7 @@ def collect_sysconfig(info_add):
493
'PY_STDMODULE_CFLAGS',
494
'Py_DEBUG',
495
'Py_ENABLE_SHARED',
496
+ 'Py_NOGIL',
497
'SHELL',
498
'SOABI',
499
'prefix',
0 commit comments