Joe Strout <joe <atstrout.netwr ites:
Ah! Yes, that's it. Gah, this has been driving me nuts all day. Thanks!
How are you creating your list? You need to make sure that each
instance creates its very own list object, something like:
>
self.foo = []
>
rather than grabbing a reference to some shared list instance, such as
one defined as a default argument to your __init__ method.
instance creates its very own list object, something like:
>
self.foo = []
>
rather than grabbing a reference to some shared list instance, such as
one defined as a default argument to your __init__ method.