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