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
David Binger
2005-03-02
On Mar 2, 2005, at 10:00 AM, A.M. Kuchling wrote:

>
>  * Is the approach taken pure evil, or only slightly naughty?

I'd say very naughty.

The basic traversal and write out to another file is just what
pack does already.  I think the only difference is that pack
always starts with the root instance, and you want to
control the starting point, right?

Maybe the write-a-transaction-with-everything-traversable-from object X
to file foo should be factored out of the existing pack function.
(The pack function also does a lock-and-swap that
I think you do not need.)


reply