Peter Otten <__pete...@web.de> added the comment: The unescape() method uses re.sub(regex, sub, re.ASCII), but the third argument is count, not flags. Fix is easy: use
re.sub(regex, sub, flags=re.ASCII). ---------- keywords: +patch nosy: +potten Added file: http://bugs.python.org/file23092/unescape_bug.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12888> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com