cocolombo wrote: > Problem is that all instances of class tests have the same value. > > To illustrate:
> class tests(object):
> listOfTest = []
This makes listOfTest a class attribute. To get one list per instance define
it in the initializer:
class Tests(object):
def __init__(self):
self.tests = []
Peter
--
http://mail.python.org/mailman/listinfo/python-list
