[Python-checkins] python/dist/src/Modules unicodedata.c,2.16,2.17

Guido van Rossum guido@python.org
Fri, 14 Jun 2002 16:48:58 -0400


> in my experience, simple names without underscores always conflicts
> with something on platforms that I don't have access to, while simple
> names with leading underscores never causes any problems...

Unfortunately, that's exactly the opposite of what the C
standardization committee wants you to do.

> > I don't have any particular favourite convention for this sort of
> > thing, although I was trying to maintain the pre-existing
> > convention.  However, going through the file I note that the
> > prefix "unicodedata_" has been used for some of the other statics
> > - this IMHO is probably slightly more fitting than "unicode_", no?
> 
> I vote for "unicodedata_".

Since this is only within one file, why not simly "uc_"?

--Guido van Rossum (home page: http://www.python.org/~guido/)