Skip to content

gh-162031: Return None from readinto() on non-blocking streams with no data - #162032

Merged
cmaloney merged 1 commit into
python:mainfrom
cmaloney:nonblock_readinto
Nov 19, 2026
Merged

cmaloney merged 1 commit into
python:mainfrom
cmaloney:nonblock_readinto

Conversation

@cmaloney

@cmaloney cmaloney commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Match PEP-3116 specification for Non-blocking I/O in BufferedIO.

First proposed in 2015 as nonblock-none.patch on gh-57531.

…with no data

Match PEP-3116 specification for Non-blocking I/O.

First proposed in 2015 as `nonblock-none.patch` on pythongh-57531.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cmaloney
cmaloney merged commit ec912e7 into python:main Nov 19, 2026
59 checks passed
@cmaloney
cmaloney deleted the nonblock_readinto branch November 19, 2026 19:48
Sign up for free to 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.

1 participant