[Python-Dev] Assigning to __debug__

Moshe Zadka moshez@zadka.site.co.il
Fri, 30 Mar 2001 16:21:27 +0200


On Fri, 30 Mar 2001, "Fredrik Lundh" <fredrik@pythonware.com> wrote:
 
> is the "__version__" convention documented somewhere?

Yes. I don't remember where, but the words are something like "the __ names
are reserved for use by the infrastructure, loosly defined as the interpreter
and the standard library. Code which has aspirations to be part of the
infrastructure must use a unique prefix like __bobo_pos__"

-- 
"I'll be ex-DPL soon anyway so I'm        |LUKE: Is Perl better than Python?
looking for someplace else to grab power."|YODA: No...no... no. Quicker,
   -- Wichert Akkerman (on debian-private)|      easier, more seductive.
For public key, finger moshez@debian.org  |http://www.{python,debian,gnu}.org