[Numpy-discussion] more on MA not pickling
tavis at calrudd.com
Tue Apr 17 17:28:46 EDT 2001
> Unfortunately, *my* application does this. (:->.
damn, I was hoping you wouldn't say that ;-)
> Maybe MA needs to define some special methods to make
> this work, so that the objects are pickled without these
> attributes and they are restored after being unpickled?
do you mean __getstate__ and __setstate__?
> There may be another solution but it will take more
> effort to develop.
I've got a vague idea for another solution that uses the
.im_func attribute of methods. I'll toy with it this
afternoon and see if I can get it working.
More information about the NumPy-Discussion