PEP 3131: Supporting Non-ASCII Identifiers

René Fleschenberg rene at korteklippe.de
Tue May 15 09:41:00 EDT 2007


Thorsten Kampe schrieb:
> You are right, except that using the correct characters for words is 
> not a "funny thing". Using Polish diacritics (for example) for 
> identifier names just makes sense for a project that already uses 
> polish comments and polish names for their code. You will never get in 
> touch with that. Using the right charset for these polish words 
> doesn't change a bit in your ability to debug or understand this code.

I will get in touch with it. I currently have applications installed on
my computer that come with my Linux distribution and that use code with
identifiers and comments written in a non-English language which I would
like to understand. This is tough enough as it is, the same code with
non-ASCII characters that maybe do not even display on my screen would
be even tougher to understand, let alone modify. It does make a
difference wether I can at least recognize and type in the characters or
not. The expectation that such code will only be used for "very closed"
projects that noone else will ever want to get in touch with is unrealistic.

-- 
René



More information about the Python-list mailing list