[Python-3000] Unicode identifiers (Was: sets in P3K?) (original) (raw)

Guido van Rossum guido at python.org
Fri Apr 28 22:44:53 CEST 2006


On 4/28/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:

Guido van Rossum wrote: > I want good Unicode support for string literals and comments. > Everything else in the language ought to be ASCII.

Does that include restricting identifiers to ASCII as well?

Yes, that's my intent.

I was hoping to propose a PEP on non-ASCII identifiers some day; that would (of course) include a requirement that the standard library would always be restricted to ASCII-only identifiers as a style-guide.

IMO communication about code becomes much more cumbersome if there are non-ASCII letters in identifiers, and the rules about what's a letter, what's a digit, and what separates two identifiers become murky.

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-3000 mailing list