John Salerno wrote: > Couldn't we also say that this issue of namespace scope is a little more > specific to Python than OOP in general? I could very easily be wrong, > but I wouldn't want the poster to think that this is how OOP works always.
No, the confusion in the OP was between class attributes, instance attributes and local variables. This distinction is pretty fundamental to OOP. Kent -- http://mail.python.org/mailman/listinfo/python-list