[Python-checkins] python/dist/src/Modules unicodedata.c,2.16,2.17
M.-A. Lemburg
mal@lemburg.com
Thu, 13 Jun 2002 14:25:06 +0200
Guido van Rossum wrote:
>>>Modified Files:
>>> unicodedata.c
>>>Log Message:
>>>_Py prefix is verboten for static entry points
>>
>>That's fine, but please mangle the names in a different way then,
>>since the _Py was added to avoid compiler problems on some
>>platform (don't remember which) where e.g. getname() is a system
>>API.
>
>
> Look carefully -- he called it _getucname. (Generally I don't think
> static function names should with an underscore though.)
Even worse... that's not even allowed by ISO/ANSI C ;-)
Seriously, I don't care what you name them, as long as they don't
stir up compiler noises. How about using "unicode_" as prefix ?
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/
Meet us at EuroPython 2002: http://www.europython.org/