Re: How to better pickle an extension type
, see if I can get it to do what I want... On Apr 17, 2:50 am, Ziga Seilnacht <[EMAIL PROTECTED]> wrote: > dgdev wrote: > > I would like topicklean extension type (written inpyrex). I have > > it working thus far by defining three methods: > > >
How to better pickle an extension type
I would like to pickle an extension type (written in pyrex). I have it working thus far by defining three methods: class C: # for pickling __getstate__(self): ... # make 'state_obj' return state_obj __reduce__(self): return