[Python-3000] Support for PEP 3131

Jim Jewett jimjjewett at gmail.com
Thu May 17 02:31:41 CEST 2007


On 5/13/07, Arvind Singh <arvind1.singh at gmail.com> wrote:
> On 5/14/07, Anders J. Munch <2007 at jmunch.dk > wrote:

> This PEP talks about support for *identifiers*. If you need *extensive*
> vocabulary for your *identifiers*, I'd assume that you're coding something
> non-trivial (with ignorable exceptions). Such non-trivial code should be
> sharable under a _common_ language that *others* can understand as well,
> IMHO.

But that common language might well be Japanese, particularly if you
are writing for a specific customer which happens to be a Japanese
company.

>  Further, if you are doing something non-trivial, I can also assume that
> you'd be using third-party libraries. How would the code look if identifiers
> were written in various encodings?

The core of CPython prefixes its identifiers with Py_ to distinguish
them from other libraries.  I suspect that a Chinese character vs a
Latin character would be almost as distinctive as whether or not the
identifer starts with "Py_"

-jJ


More information about the Python-3000 mailing list