pickle error: can't pickle instancemethod objects

Peter Otten __peter__ at web.de
Fri May 23 04:12:00 EDT 2008


Michele Simionato wrote:

> Can somebody explain what's happening with the following script?

>     def __gestate__(self): # should skip the bound methods attributes

Must be __getstate__ ;)

Peter




More information about the Python-list mailing list