Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-134009: ExposePyMutex_IsLocked in the public C API#134365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commentedMay 20, 2025
edited
Loading

ThePyMutex_IsLocked() function is useful in assertions for verifying that code maintains certain locking invariants.


📚 Documentation preview 📚:https://cpython-previews--134365.org.readthedocs.build/en/134365/c-api/init.html#c.PyMutex_IsLocked

The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@colesburycolesbury marked this pull request as ready for reviewJune 24, 2025 20:02
@colesburycolesbury merged commitf41e9c7 intopython:mainJul 1, 2025
46 checks passed
@colesburycolesbury deleted the gh-134009-pymutex-is-locked branchJuly 1, 2025 17:26
AndPuQing pushed a commit to AndPuQing/cpython that referenced this pull requestJul 11, 2025
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull requestJul 12, 2025
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
picnixz pushed a commit to picnixz/cpython that referenced this pull requestJul 13, 2025
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
@hugovkhugovk added the needs backport to 3.14bugs and security fixes labelJul 22, 2025
@miss-islington-app
Copy link

Thanks@colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry,@colesbury, I could not cleanly backport this to3.14 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker f41e9c750e6971c165e055374a1014d6afd2d50e 3.14

hugovk pushed a commit to hugovk/cpython that referenced this pull requestJul 22, 2025
…pythongh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.(cherry picked from commitf41e9c7)Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app
Copy link

GH-136971 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJul 22, 2025
hugovk added a commit that referenced this pull requestJul 22, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull requestAug 4, 2025
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull requestAug 19, 2025
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
kumaraditya303 pushed a commit to miss-islington/cpython that referenced this pull requestSep 9, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vstinnervstinnervstinner left review comments

@ZeroIntensityZeroIntensityZeroIntensity left review comments

@kumaraditya303kumaraditya303kumaraditya303 approved these changes

Assignees

@colesburycolesbury

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@colesbury@vstinner@ZeroIntensity@kumaraditya303@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp