-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-111965: Use critical sections to make io.BufferedIOBase and its related classes thread safe #112298
gh-111965: Use critical sections to make io.BufferedIOBase and its related classes thread safe #112298
Conversation
…using critical sections
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
@colesbury Can you please review this draft PR once to help me to understand the issue if any exists in my work? |
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.
This looks generally like a reasonable approach.
You will need to sign the CLA- You should make sure the build passes.
EDIT: Sorry - I see that you've already signed the CLA.
Yeah, contributing for the first time so had a struggle bit but it was fun to begin and understand build checks too ;) |
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.
Thanks @Mayuresh16, this LGTM.
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, In the end, we should support getter/setter from AC.
…its related classes thread safe (pythongh-112298)
…its related classes thread safe (pythongh-112298)
cc: @colesbury @corona10
--disable-gil
builds) #111965