> I understand that this cannot be saved by pickle.
> My question is, is there another way of setting a callback that would
> agree with pickle?
> If not is there some way to make pickle ignore the problem attribute?
Try adding a __getstate__ method to your class:
http://docs.python.org/lib/pickl
I have a class that I am trying to pickle. One of the attributes is
used to set a callback e.g.
self.attribute.setCallback(self.callbackfunction).
I understand that this cannot be saved by pickle.
My question is, is there another way of setting a callback that would
agree with pickle?
If not is t