pickle and __slots__

JL informfr at gmail.com
Thu Oct 4 17:51:28 CEST 2007


Hello,

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?

Thanks




More information about the Python-list mailing list