-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
GH-90344: replace io.IncrementalNewlineDecoder with non incremental newline decoders
#30276
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
GH-90344: replace io.IncrementalNewlineDecoder with non incremental newline decoders
#30276
Conversation
|
This PR is stale because it has been open for 30 days with no activity. |
MaxwellDupre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue had comments:
...can you give an example where it fails? Is it possible to write a unit test demonstrating that the current behaviour is wrong?
Can give more info please? I cant see a clear use case.
|
The old code has an incorrect usage of It happens that in those cases, the results are correct in spite of the incorrect usage. |
7f94b2b to
7107a2a
Compare
7107a2a to
ffb090f
Compare
brettcannon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the news entry can be a bit more descriptive, but otherwise LGTM!
Misc/NEWS.d/next/Core_and_Builtins/2025-10-31-14-03-42.gh-issue-90344.gvZigO.rst
Outdated
Show resolved
Hide resolved
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
…e-90344.gvZigO.rst Co-authored-by: Brett Cannon <[email protected]>
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
|
The tests are failing due to the news item. |
Head branch was pushed to by a user without write access
|
@brettcannon is that ok now? |
Sorry, had a sick toddler the past week, so I haven't had time to look at your changes. But I'm going to look now. |
io.IncrementalNewlineDecoder with non incremental newline decodersio.IncrementalNewlineDecoder with non incremental newline decoders
|
Thanks, @guoci ! |
|
…age with non-incremental newline decoders (pythonGH-30276) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Brett Cannon <[email protected]>
https://bugs.python.org/issue46186
io.IncrementalNewlineDecoderwith non incremental newline decoders #90344