Erik Max Francis max at
Sat Aug 24 20:09:40 EDT 2002

"Mr. Neutron" wrote:

>         I was under the assumption that class_inside was a public
>         variable that was instantiated with every new class. But my
>         observation has proven it is not true every class with have
>         a reference to class_inside ( I can show actual code that
>         proves this...)

It's a variable that is instantiated when the class definition is
parsed.  All instances of the class will have access to that object, but
they'll all be accessing the same object.

 Erik Max Francis / max at /
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ There is nothing so subject to the inconstancy of fortune as war.
\__/ Miguel de Cervantes
    Church /
 A lambda calculus explorer in Python.

More information about the Python-list mailing list