[issue8260] When I use codecs.open(...) and f.readline() follow up by f.read() return bad result

Nick Coghlan report at bugs.python.org
Sun Jan 26 16:40:05 CET 2014


Nick Coghlan added the comment:

Patch looks good to me, but if any specific features are needed to work around misbehaving codecs (as per issue 20132), a comment in the appropriate place referencing that issue would be helpful.

And if that workaround means we can remove the special casing from the test_readlines test for the binary transform, cool :)

----------

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


More information about the Python-bugs-list mailing list