gh-117514: Add `sys._is_gil_enabled()` function (#118514)
The function returns `True` or `False` depending on whether the GIL is currently enabled. In the default build, it always returns `True` because the GIL is always enabled.
S
Sam Gross committed
2dae505e87e3815f087d4b07a71bb2c5cce22304
Parent: 24e643d
Committed by GitHub <noreply@github.com>
on 5/3/2024, 3:09:57 PM