I am a bit confused. I was under the impression that:
class foo(object): x = 0 y = 1
means that x and y are variables shared by all instances of a class. But when I run this against two instances of foo, and set the values of x and y, they are indeed unique to the *instance* rather than the class.
It is late and I am probably missing the obvious. Enlightenment appreciated ... -- ---------------------------------------------------------------------------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list