Serhiy Storchaka added the comment: Updated patch fixes also a bug in _PyUnicodeWriter. Other affected encoding is "unicode-escape":
>>> br'\u;'.decode('unicode-escape', 'replace') 'ý;' ---------- Added file: http://bugs.python.org/file40604/utf7_error_handling-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24848> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com