Multibyte Character Surport for Python
John Roth
johnroth at ameritech.net
Sat May 11 07:50:28 EDT 2002
"Neil Hodgson" <nhodgson at bigpond.net.au> wrote in message
news:dQZC8.115171$o66.340113 at news-server.bigpond.net.au...
> 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.
Some good points. I was mostly attempting to provide a safety net to
reduce the possibility of unreadable code.
John Roth
>
> Neil
>
>
>
More information about the Python-list
mailing list