[Python-3000] PEP: Supporting Non-ASCII Identifiers

"Martin v. Löwis" martin at v.loewis.de
Tue May 1 18:24:49 CEST 2007

Jim Jewett schrieb:
> On 5/1/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> The identifier syntax is <ID_Start> <ID_Continue>\*.
>> ID_Start is defined as all characters having one of the general
>> categories uppercase letters (Lu), lowercase letters (Ll), titlecase
>> letters (Lt), modifier letters (Lm), other letters (Lo), letter
>> numbers (Nl), plus the underscore (XXX what are "stability extensions
>> listed in UAX 31).
> Are you sure that modifier letters should be included?  The standard
> says so, but as nearly as I can tell, these are really more like
> diacritics -- and some of them look an awful lot like punctuation.

Interesting question. I included them because the standard says so,
but I don't see an inherent need. I'll see whether I can find some
rationale as to why they were included in UAX 31, and then check
whether that rationale applies to Python as well.


More information about the Python-3000 mailing list