mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-112535: Add test on _Py_ThreadId() (#112709)
Add also test.support.Py_GIL_DISABLED constant.
This commit is contained in:
parent
a8ce149628
commit
c5fa8a54db
6 changed files with 75 additions and 8 deletions
|
|
@ -796,7 +796,8 @@ def check_cflags_pgo():
|
|||
return any(option in cflags_nodist for option in pgo_options)
|
||||
|
||||
|
||||
if sysconfig.get_config_var('Py_GIL_DISABLED'):
|
||||
Py_GIL_DISABLED = bool(sysconfig.get_config_var('Py_GIL_DISABLED'))
|
||||
if Py_GIL_DISABLED:
|
||||
_header = 'PHBBInP'
|
||||
else:
|
||||
_header = 'nP'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue