durusmail: durus-users: Pickling/exporting objects
Pickling/exporting objects
2005-03-02
2005-03-02
2005-03-02
2005-03-02
2005-03-02
2005-03-02
2005-03-02
2005-03-03
2005-03-03
2005-03-03
2005-03-03
2005-03-03
2005-03-04
2005-03-04
2005-03-04
2005-03-04
2005-03-04
2005-03-04
2005-03-05
Pickling/exporting objects
A.M. Kuchling
2005-03-04
On Fri, Mar 04, 2005 at 06:50:34AM -0500, David Binger wrote:
> Okay, I really can pickle a Persistent instance now, even with
> the C implementation of PersistentBase installed.  Note that
> pickle protocol 2 is required.

Thanks, David!  That works like a charm.

(That's exactly the change I tried, but never with pickle protocol 2;
hence I concluded the fix was wrong in some way.  $#%&*!)

BTW, there's a minor word missing from a docstring in _persistent.c:
"This the C implementation..."

--amk


reply