[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 :-)
http://www.python.org/dev/peps/pep-0400/

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

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14475>
_______________________________________


More information about the Python-bugs-list mailing list