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.