Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-32475: Add argument to peek() into I/O buffer without reading#7947

Open
hashbrowncipher wants to merge 2 commits into
python:mainpython/cpython:mainfrom
hashbrowncipher:bpo-32475hashbrowncipher/cpython:bpo-32475Copy head branch name to clipboard
Open

bpo-32475: Add argument to peek() into I/O buffer without reading#7947
hashbrowncipher wants to merge 2 commits into
python:mainpython/cpython:mainfrom
hashbrowncipher:bpo-32475hashbrowncipher/cpython:bpo-32475Copy head branch name to clipboard

Conversation

@hashbrowncipher

@hashbrowncipher hashbrowncipher commented Jun 27, 2018

Copy link
Copy Markdown
Contributor

Previously it was impossible to ensure that a program had read all of the data
out of its buffer before it called detach(). With this change, calling
reader.peek(0, False) will enable the program to gracefully transition from
buffered I/O to raw I/O.

https://bugs.python.org/issue32475

Previously it was impossible to ensure that a program had read all of the data
out of its buffer before it called `detach()`. With this change, calling
`reader.peek(0, False)` will enable the program to gracefully transition from
buffered I/O to raw I/O.
@the-knights-who-say-ni

Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

When your account is ready, please add a comment in this pull request
and a Python core developer will remove the CLA not signed label
to make the bot check again.

Thanks again for your contribution, we look forward to reviewing it!

@hashbrowncipher

Copy link
Copy Markdown
Contributor Author

I've now signed the CLA: https://bugs.python.org/user28818

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Sep 21, 2024
@python-cla-bot

python-cla-bot Bot commented Apr 6, 2025

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA signed

@github-actions github-actions Bot removed the stale Stale PR or inactive for long period of time. label Apr 9, 2025
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.