Skip to content
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

bpo-32110: codecs.StreamReader.read(n) now returns not more than n #4499

Merged
merged 2 commits into from
Nov 28, 2017

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Nov 22, 2017

characters/bytes for non-negative n. This makes it compatible with
read() methods of other file-like objects.

https://bugs.python.org/issue32110

characters/bytes for non-negative n.  This makes it compatible with
read() methods of other file-like objects.
@serhiy-storchaka serhiy-storchaka merged commit 219c2de into python:master Nov 28, 2017
@miss-islington
Copy link
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the codecs-read-limit branch November 28, 2017 23:30
@bedevere-bot
Copy link

GH-4622 is a backport of this pull request to the 3.6 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 28, 2017
…ythonGH-4499)

characters/bytes for non-negative n.  This makes it compatible with
read() methods of other file-like objects.
(cherry picked from commit 219c2de)
@bedevere-bot
Copy link

GH-4623 is a backport of this pull request to the 2.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 28, 2017
…ythonGH-4499)

characters/bytes for non-negative n.  This makes it compatible with
read() methods of other file-like objects.
(cherry picked from commit 219c2de)
serhiy-storchaka pushed a commit that referenced this pull request Nov 29, 2017
…H-4499) (#4622)

characters/bytes for non-negative n.  This makes it compatible with
read() methods of other file-like objects.
(cherry picked from commit 219c2de)
serhiy-storchaka pushed a commit that referenced this pull request Nov 29, 2017
…H-4499) (#4623)

characters/bytes for non-negative n.  This makes it compatible with
read() methods of other file-like objects.
(cherry picked from commit 219c2de)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants