Skip to content

Conversation

@sobolevn
Copy link
Member

@sobolevnsobolevn commented Feb 26, 2024

TODO:

  • Get field-expert's approval
  • Docs
  • News

@sobolevnsobolevn marked this pull request as ready for review March 13, 2024 06:44
@sobolevnsobolevn requested a review from gpshead as a code ownerMarch 13, 2024 06:44
@sobolevn
Copy link
MemberAuthor

@gpshead do you have an opinion about this? :)

@sobolevn
Copy link
MemberAuthor

friendly ping @gpshead

@gpshead
Copy link
Member

FWIW this PR makes sense to me.

@sobolevn
Copy link
MemberAuthor

Ok, then I will add all the missing details. Thanks a lot! 👍

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add tests on threading.RLock.locked().

Copy link
Member

@picnixzpicnixz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some rewording. Otherwise, once tests requested by Victor are added, LGTM.

@sobolevn
Copy link
MemberAuthor

@vstinner@gpshead this is now ready to be reviewed :)

@sobolevnsobolevn requested review from mpage and vstinnerApril 1, 2025 09:43
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Co-authored-by: Hugo van Kemenade <[email protected]>
Copy link
Member

@gpsheadgpshead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish I could object to this being a locked() method instead of a .locked property... but this is matching an existing ancient API on purpose so... LGTM.

@sobolevnsobolevn merged commit f7305a0 into python:mainApr 8, 2025
42 checks passed
@sobolevn
Copy link
MemberAuthor

Thanks everyone! 🎉

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@sobolevn@gpshead@vstinner@mpage@hugovk@picnixz