Marc-Andre Lemburg <[EMAIL PROTECTED]> added the comment: The was not a mistake, it was done on purpose since there would otherwise have been no way to add non-ASCII Unicode code points to a raw Unicode literal, rendering raw Unicode literals pretty useless.
Even if you use UTF-8 as source code encoding, there's no way to add half a surrogate to a raw Unicode literal without the Unicode literals. If you need to write a Unicode literal escape using the raw Unicode escape encoding, you can use '\x1234'. ---------- nosy: +lemburg __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2557> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com