Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: Even in "raw" unicode strings, \u is processed as an escape sequence; see the very last paragraph of http://docs.python.org/reference/lexical_analysis.html#string-literals
Yes, this can be surprising, and was changed with Python 3. Python 2 versions can't be changed for compatibility reasons. ---------- nosy: +amaury.forgeotdarc resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12252> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com