-
-
Notifications
You must be signed in to change notification settings - Fork 32k
The new threading.RLock.locked()
method fails
#134323
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @sobolevn |
Didn't we already have a report for this one actually? EDIT: It was related but not this one in particular: #132561. |
These 2 bugs were introduced by #115944 |
vstinner
pushed a commit
that referenced
this issue
May 22, 2025
Co-authored-by: Kumar Aditya <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 22, 2025
…H-134368) (cherry picked from commit 3effede) Co-authored-by: Duprat <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
vstinner
pushed a commit
that referenced
this issue
May 22, 2025
) (#134510) gh-134323: Fix the new `threading.RLock.locked` method (GH-134368) (cherry picked from commit 3effede) Co-authored-by: Duprat <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
Output is:
Error is located at:
cpython/Lib/threading.py
Lines 238 to 240 in 28625d4
The return instruction must be:
return self._block.locked()
.I can submit a PR quickly.
CPython versions tested on:
CPython main branch, 3.14
Operating systems tested on:
macOS
Linked PRs
threading.RLock.locked
method #134368threading.RLock.locked
method (GH-134368) #134510The text was updated successfully, but these errors were encountered: