PEP 3131: Supporting Non-ASCII Identifiers

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sun May 13 19:48:17 EDT 2007


In <mailman.7627.1179086416.32031.python-list at python.org>, Michael Torrie
wrote:

> I think non-ASCII characters makes the problem far far worse.  While I
> may not understand what the function is by it's name in your example,
> allowing non-ASCII characters makes it works by forcing all would-be
> code readers have to have all kinds of necessary fonts just to view the
> source code.  Things like reporting exceptions too.  At least in your
> example I know the exception occurred in zieheDreiAbVon.  But if that
> identifier is some UTF-8 string, how do I go about finding it in my text
> editor, or even reporting the message to the developers?  I don't happen
> to have that particular keymap installed in my linux system, so I can't
> even type the letters!

You find it in the sources by the line number from the traceback and the
letters can be copy'n'pasted if you don't know how to input them with your
keymap or keyboard layout.

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list