pickle and __slots__
nagle at animats.com
Thu Oct 4 18:14:55 CEST 2007
> I am trying to pickle an object, and I get:
> TypeError: a class that defines __slots__ without defining
> __getstate__ cannot be pickled
> I didn't find __slots__ in the object or the class. Is there a way to
> find it, or to to know which object or class causes the problem?
Is this a subclass? Look at the parent classes.
More information about the Python-list