On 6/18/2012 2:06 AM, "Martin v. Löwis" wrote:

Hm. I still encounter enough environments that don't know how to display
such characters that I would prefer to have a rock solid \u escape
mechanism.

If you want to use them under the revised PEP 414, you will have to
avoid making them raw, and just use a plain u prefix. IOW, you need
to double all backslashes that you want to stand on their own, and
then use \u escapes to denote non-typable characters.

And such literals will mean the same thing in 2.x and 3.3+.

--
Terry Jan Reedy




_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to