Jack Diederich <jackd...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5148> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com