Akira Li added the comment: > As a side-effect it also fixes the bug in line_buffering=True > behavior, see issue22069O.
It should be issue22069 "TextIOWrapper(newline="\n", line_buffering=True) mistakenly treat \r as a newline" Reuploaded the patch so that it applies cleanly on the current tip. ---------- Added file: http://bugs.python.org/file36114/io-newline-issue1152248-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1152248> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com