[Python-ideas] Visually confusable unicode characters in identifiers

Terry Reedy tjreedy at udel.edu
Mon Oct 1 20:21:05 CEST 2012


On 10/1/2012 1:02 PM, Mathias Panzenböck wrote:
> On 10/01/2012 06:43 PM, Robert Kern wrote:
>> On 10/1/12 5:07 PM, Mathias Panzenböck wrote:
>>> I still don't understand why unicode characters are allowed at all in
>>> identifier
>>> names. Is the reason for this written down somewhere?
>>
>> http://www.python.org/dev/peps/pep-3131/#rationale

I have the impression that latin-1 chars were/are (unofficially) 
accepted in Python2.

> But the Python keywords and more importantly the documentation is
> English.

I know of at least one translation
http://docs.python.org.ar/tutorial/contenido.html
though keeping up with changes is obvious a problem.

There are multiple books in multiple languages. When I went to a 
bookstore in Japan, the program languages sections had about 8 for 
Python. I suspect that is more than most equivalent US bookstores.

-- 
Terry Jan Reedy





More information about the Python-ideas mailing list