One Python 2.1 idea
moshez at stimpy.scso.com
Tue Dec 26 14:56:43 CET 2000
On Tue, 26 Dec 2000 14:00:32 +0100, Thomas Wouters <thomas at xs4all.net> wrote:
> doing 'x.foo = x.foo'
> broke the pickle modules (because bound methods
> can't be pickled.)
Without getting into the cache vs. no cache debate, that simply sucks.
I've run into this problem a couple time, and had very ugly workarounds
I think it can be fixed, and I will try to patch that if I ever get the
chance. (Pickle a method as a pair: im_self and the method's name.
Then upon unpickling, get im_self.name)
More information about the Python-list