Martin Panter added the comment: I wouldn’t say TK ignores carriage returns, though I agree it would be better if Idle stripped them out. Currently I get a glyph displayed for them, similarly to \b. They wouldn’t copy to my clipboard, so I fudged them after pasting here:
>>> _ = stdout.write("CRLF\r\n") # Linux: box-drawing corner piece CRLF┌ >>> _ = stdout.write("CRLF\r\n") # Wine: euro sign CRLF€ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23220> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com