FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-134009: Expose `PyMutex_IsLocked` in the public C API (gh-134365) by hugovk · Pull Request #136971 · python/cpython · GitHub

/ cpython Public

[3.14] gh-134009: Expose PyMutex_IsLocked in the public C API (gh-134365) - #136971

Merged
hugovk merged 1 commit into
python:3.14from
hugovk:backport-f41e9c7-3.14
Jul 22, 2025
Merged

[3.14] gh-134009: Expose PyMutex_IsLocked in the public C API (gh-134365)#136971
hugovk merged 1 commit into
python:3.14from
hugovk:backport-f41e9c7-3.14

Conversation

hugovk commented Jul 22, 2025
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Member

The PyMutex_IsLocked() function is useful in assertions for verifying that code maintains certain locking invariants.
(cherry picked from commit f41e9c7)


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

…pythongh-134365)

The `PyMutex_IsLocked()` function is useful in assertions for verifying
that code maintains certain locking invariants.
(cherry picked from commit f41e9c7)

Co-authored-by: Sam Gross <colesbury@gmail.com>
hugovk merged commit 8e43b13 into python:3.14 Jul 22, 2025
45 checks passed
hugovk deleted the backport-f41e9c7-3.14 branch July 22, 2025 09:48

ambv commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

Like #136969, this is pretty late for addition after the last beta. This one is okay despite shadowing the old private inlined version with the new function since they are both the same implementation.

kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull request Sep 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL