[Python-Dev] zap _Py prefix?

David Abrahams David Abrahams" <david.abrahams@rcn.com
Mon, 3 Jun 2002 16:51:00 -0400


From: "Guido van Rossum" <guido@python.org>

> The problem is that Py__ doesn't scream "internal" like "_Py" does.
> If we had to, I'd propose "_py".

ISO/IEC 9899:1999:
7.1.3 Reserved identifiers
1 Each header declares or defines all identifiers listed in its associated
subclause, and
optionally declares or defines identifiers listed in its associated future
library directions
subclause and identifiers which are always reserved either for any use or
for use as file
scope identifiers.
— All identifiers that begin with an underscore and either an uppercase
letter or another
underscore are always reserved for any use.
— All identifiers that begin with an underscore are always reserved for use
as identifiers with file scope in both the ordinary and tag name spaces.



i-liked-mypy_-ly y'rs,

Dave