[issue1395] py3k: duplicated line endings when using read(1)

Raghuram Devarakonda report at bugs.python.org
Thu Nov 8 20:00:25 CET 2007


Raghuram Devarakonda added the comment:

On 11/8/07, Amaury Forgeot d'Arc <report at bugs.python.org> wrote:
> OK, I have taken another approach which seems to work (see io4.diff):
> It uses an IncrementalNewlineDecoder, which wraps the initial (e.g.
> utf-8) decoder.

I like this approach even though I haven't looked at the patch in detail.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1395>
__________________________________


More information about the Python-bugs-list mailing list