The Wayback Machine - https://web.archive.org/web/20251228175845/https://github.com/python/cpython/pull/118514
Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented May 2, 2024 •

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.


📚 Documentation preview 📚: https://cpython-previews--118514.org.readthedocs.build/

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.
@colesbury colesbury merged commit 2dae505 into python:main May 3, 2024
@colesbury colesbury deleted the gh-117514-sys-is_gil_enabled branch May 3, 2024 15:10
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants