Nick Coghlan added the comment: At a glance, this just looks like a bug in difflib - it should use different literals when handling bytes. (Given that difflib newline processing assumes ASCII compatibility, a latin-1 based decode/encode solution may also be viable).
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17445> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com