pickle error: can't pickle instancemethod objects

Michele Simionato michele.simionato at gmail.com
Fri May 23 04:29:33 EDT 2008


On May 23, 10:12 am, Peter Otten <__pete... at web.de> wrote:
> 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

Aaargh!!! I spent a couple of hours on a typo!
Thanks anyway, now everything makes sense again ;)



More information about the Python-list mailing list