Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-134322: fix the__repr__
value ofthreading.RLock
from_thread
module, when just created#134389
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
fade146
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Fix the `__repr__` value of `threading.RLock` from `_thread` module, when just created.(cherry picked from commitfade146)Co-authored-by: Duprat <yduprat@gmail.com>
GH-134528 is a backport of this pull request to the3.14 branch. |
Uh oh!
There was an error while loading.Please reload this page.
When a
threading.RLock
is just created, the value of_count
attribute is set to 1 instead of 0.Note that
__repr__
is correct when_thread
module is inactive.repr
ofthreading.RLock
is erronous with the_thread
module #134322