Multibyte Character Surport for Python

Neil Hodgson nhodgson at bigpond.net.au
Fri May 10 20:44:57 EDT 2002


John Roth:

> 2. All identifiers MUST be expressed in the character set of
> a single language (treating the various latin derived languages
> as one for simplicity.) That doesn't mean that only one language
> can be used for a module, only that a particular identifer must make
> lexical sense in a specific language.

   Do you have a reason for this restriction? I see there being reasons for
using identifiers made from non-Roman (such as Japanese) and Roman letters
when applying naming conventions or when basing names on external entities
such as database identifiers. Say I have a database with a column called
[JapaneseWord] and want derived entities in a (possibly automatically
generated) form such as txt[JapaneseWord] and verified[JapaneseWord].

   In mathematical English code I would quite like to use greek letters for
pi and sigma and so forth to make the code more similar to how I'd document
it.

   Neil






More information about the Python-list mailing list