[issue7610] Cannot use both read and readline method in same ZipExtFile object

Antoine Pitrou report at bugs.python.org
Sun Jan 3 16:10:12 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

I don't think we can remove the "U" option from 2.6/2.7; it was certainly introduced for a reason and isn't inconsistent with the "U" option to the built-in open().

On 3.x, behaviour is indeed inconsistent with the standard IO library, so maybe we can either wrap the object in a TextIOWrapper, or remove support for "U".

----------
nosy: +pitrou
priority:  -> normal
stage:  -> patch review
versions: +Python 3.2 -Python 2.6

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


More information about the Python-bugs-list mailing list