-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-93600: Clarify the meaning of buffering=-1 in open() #93685
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
base: main
Are you sure you want to change the base?
Conversation
This commit clarify the meaning of buffering=-1 in open() function. Add this information in Docs and in source code docstring.
I think you need to regenerate the frozen version of A |
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.
Grammar, and a minor change from "default buffer size" to "default buffering policy" -- this ties in the following text and helps communicate that -1
is the same as passing no argument.
A
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
HI @AA-Turner thanks for the revision. I've just push some changes, I applied the your recommendations and I pushed a commit running clinic.py, I hope that fix the build :-) |
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, it did fix the build -- you need to re-wrap two lines though and then go through the regen dance again!
A
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.
Suggest changes to minimize diff churn.
Lines shorter than the limit are no problem, and this keeps git history slightly more useful 🙂
Ready thanks @merwok |
Thanks @eamanu. It looks like the merge conflicts need to be resolved. Please ping me once they are updated. Thanks. |
This commit clarify the meaning of buffering=-1 in open() function. Add
this information in Docs and in source code docstring.