STINNER Victor <victor.stin...@haypocalc.com> added the comment: > Python 2.x could not be changed, for compatibility reasons.
Well, it is not a bug because it is documented! << When an 'r' or 'R' prefix is used in conjunction with a 'u' or 'U' prefix, then the \uXXXX and \UXXXXXXXX escape sequences are processed while all other backslashes are left in the string. >> I agree that Python2 cannot be changed, but this behaviour is a little bit surprising :-) Let's move to Python3! ---------- resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11228> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com