aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Misc
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2025-07-01 13:26:13 -0400
committerGitHub <noreply@github.com>2025-07-01 13:26:13 -0400
commitf41e9c750e6971c165e055374a1014d6afd2d50e (patch)
treebf1e4a487d006801b57374769904761ecbed3c2d /Misc
parent86c3316183a79867e3c666d0830f897e16f0f339 (diff)
downloadcpython-main.tar.gz
cpython-main.zip
gh-134009: Expose `PyMutex_IsLocked` in the public C API (gh-134365)HEADmain
The `PyMutex_IsLocked()` function is useful in assertions for verifying that code maintains certain locking invariants.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst b/Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst
new file mode 100644
index 00000000000..f060f09de19
--- /dev/null
+++ b/Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst
@@ -0,0 +1 @@
+Expose :c:func:`PyMutex_IsLocked` as part of the public C API.