Skip to content

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

Open
cmaloney wants to merge 1 commit into
python:mainfrom
cmaloney:nonblock_readinto
Open

cmaloney wants to merge 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant