Guido van Rossum added the comment: This looks promising, but my head hurts when I try to understand the code that's already there and think about whether your patch will always do the right thing... I'll look more later.
Regarding "universal newlines without translation:" that means that \r\n and \r are recognized as line endings (as is \n) and that readline() will return whatever line end it sees. Compare this to setting newline="\n"; then \r is not treated as a line ending at all (and if the input is a\rb\n, the next readline call would return that entire string). __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1395> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com