[issue14475] codecs.StreamReader.read behaves differently from regular files

STINNER Victor report at bugs.python.org
Mon Apr 2 22:03:59 CEST 2012

STINNER Victor <victor.stinner at gmail.com> added the comment:

Oh, yet another bug in in codecs.StreamReader. I should add it to the PEP :-)

Use io.TextIOWrapper (open) instead of codecs.StreamReader (codecs.open), it's bugfree :-)

nosy: +haypo

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list