"Exploding" (**myvariable) a dict with unicode keys

"Martin v. Löwis" martin at v.loewis.de
Sat Oct 4 04:25:57 EDT 2008


> Oh. I read somewhere that UTF-8 variable names we're supported. I
> thought I even saw a colleague using Kanji.

In source code (string literals, comments), surely. Not in variable
names, not in 2.x.

To rephrase Bruno's comment: Python supports UTF-8 as a source encoding.
That doesn't mean that you can use all Unicode characters in all places
of the code.

Regards,
Martin



More information about the Python-list mailing list