One Python 2.1 idea

Moshe Zadka moshez at
Tue Dec 26 14:56:43 CET 2000

On Tue, 26 Dec 2000 14:00:32 +0100, Thomas Wouters <thomas at> wrote:

> doing ' =' 
> 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
for that.

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

More information about the Python-list mailing list