can't pickle instancemethod objects

Steven D'Aprano steve at REMOVETHIScyber.com.au
Sun Jul 9 10:01:11 EDT 2006


On Sun, 09 Jul 2006 05:45:27 -0700, Jim Lewis wrote:

> Pickling an instance of a class, gives "can't pickle instancemethod
> objects". What does this mean? 

It means you can't pickle instance methods.

> How do I find the class method creating the problem?

How about you post the complete stack trace of the exception? Chances are
it will contain much useful information.


-- 
Steven.




More information about the Python-list mailing list