commit | f41e9c750e6971c165e055374a1014d6afd2d50e | [log] [tgz] |
---|---|---|
author | Sam Gross <[email protected]> | Tue Jul 01 17:26:13 2025 |
committer | GitHub <[email protected]> | Tue Jul 01 17:26:13 2025 |
tree | bf1e4a487d006801b57374769904761ecbed3c2d | |
parent | 86c3316183a79867e3c666d0830f897e16f0f339 [diff] |
gh-134009: Expose `PyMutex_IsLocked` in the public C API (gh-134365) The `PyMutex_IsLocked()` function is useful in assertions for verifying that code maintains certain locking invariants.