Michael Palmer wrote: > If your class defines a __getstate__ method, it is expected to return > the pickled state of the entire class. You can for example del those > items from self.__dict__ that you don't want pickled and then return > dumps(self). FYI: __getstate__ is ignored when __reduce__ is available. Christian