[XML-SIG] Ugh! Why are DOM access methods spelled with a leading '_'?

Dieter Maurer dieter@handshake.de
Tue, 27 Jun 2000 21:10:19 +0200 (CEST)

Jim Fulton writes:
 > We seem to be arguing two issues:
 >   - Whether to expose DOM attributes as Python attributes or
 >     accessor functions, and
 >   - How to spell the accessor functions.
 > If we go with accessor functions, which I think would be 
 > a good idea, then the accessor functions should be
 > names in a way that is consistent with Python practice.

Python, unlike Zope, does *not* treat *methods/attributes*
with leading '_' specially.
Only objects in modules with names starting with a '_'
are in some way treated as private.