Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
gh-80050: Update BufferedReader.read docs around non-blocking#130653
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
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
15 commits Select commitHold shift + click to select a range
4ed4237 gh-80050: Update BufferedReader.read around non-blocking
cmaloneyb87870b Tweaks around raw.readall
cmaloney2119f78 tweak readall, hopefully passes
cmaloneyec7f023 tweaks
cmaloney11b754d clss -> class
cmaloneyb6d319b grammatical tweaking
cmaloney59bd2a1 Update to include behavior around None
cmaloneyfbbc382 tweak
cmaloneydea91ab Tweak read and read1 None and BlockingIOError comments
cmaloney7c4ef7e in read1 refer to EINTR retrying
cmaloneyc637402 fix doc lint around raw.readinto
cmaloney22bc9aa personal review fixes
cmaloney1c4a09c Update BufferedIOBase class doc for non-blocking
cmaloney8ea45f3 Include characters_written in BlockingReader
cmaloney45bb912 Fewer rather than Less
gpsheadFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
fix doc lint around raw.readinto
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitc6374022dd7316bfcc42a179fa2bf893a48595e7
There are no files selected for viewing
2 changes: 1 addition & 1 deletionDoc/library/io.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -592,7 +592,7 @@ I/O Base Classes | ||
| .. method:: read1(size=-1, /) | ||
| Read and return up to *size* bytes, calilng``raw.readinto``, | ||
cmaloney marked this conversation as resolved. OutdatedShow resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| retrying if :py:const:`~errno.EINTR` is encountered per :pep:`475`. If | ||
| *size* is ``-1`` or not provided, the implementation will choose an | ||
| arbitrary value for *size*. | ||
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.