[issue5148] gzip.open breaks with 'U' flag

Jack Diederich report at bugs.python.org
Thu Mar 26 20:51:36 CET 2009


Jack Diederich <jackdied at gmail.com> added the comment:

Unfortunately universal newlines are more complicated than replace() can
handle.  See io.py, you may be able to use one of those classes to the
the universal new line handling on the cheap (or at least easy).

----------
nosy: +jackdied

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


More information about the Python-bugs-list mailing list