This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author guoci
Recipients JelleZijlstra, eric.araujo, guoci
Date 2022-01-27.20:45:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643316324.36.0.523333604702.issue46186@roundup.psfhosted.org>
In-reply-to
Content
The old code has an incorrect usage of `io.IncrementalNewlineDecoder`. Since the `decode` method is called only once, is it the final call and needs the `final=True` argument as documented in https://docs.python.org/dev/library/codecs.html#codecs.IncrementalDecoder.decode

It happens that in those cases, the results are correct in spite of the incorrect usage.
History
Date User Action Args
2022-01-27 20:45:24guocisetrecipients: + guoci, eric.araujo, JelleZijlstra
2022-01-27 20:45:24guocisetmessageid: <1643316324.36.0.523333604702.issue46186@roundup.psfhosted.org>
2022-01-27 20:45:24guocilinkissue46186 messages
2022-01-27 20:45:24guocicreate