PEP 3131: Supporting Non-ASCII Identifiers

Duncan Booth duncan.booth at invalid.invalid
Mon May 14 08:24:49 EDT 2007


Alexander Schmolck <a.schmolck at gmail.com> wrote:

> scheme (major implementations such as PLT and the upcoming standard),
> the most popular common lisp implementations, haskell[1], fortress[2],
> perl 6 and I should imagine (but haven't checked) all new java or .NET
> based languages (F#, IronPython, JavaFX, Groovy, etc.) as well -- the
> same goes for XML-based languages.
> 

Just to confirm that: IronPython does accept non-ascii identifiers. From 
"Differences between IronPython and CPython":

> IronPython will compile files whose identifiers use non-ASCII
> characters if the file has an encoding comment such as "# -*- coding:
> utf-8 -*-".  CPython will not compile such a file in any case.




More information about the Python-list mailing list