Splitting up pickle files?

piet at cs.uu.nl piet at cs.uu.nl
Tue Feb 27 08:33:23 EST 2001


>>>>> Erik Max Francis <max at alcyone.com> (EMF) writes:

EMF> Pickling all the managers to one file and unpickling them works like a
EMF> charm, but I'd rather (for safety's sake, in case one gets corrupted)
EMF> pickle (effectively) each manager to a different file.  But since there
EMF> is a great deal of cross-linking, doing it naively would mean that
EMF> multiple (independent) instances of these cross-linked objects would end
EMF> up getting instantiated when the different files were unpickled. 
EMF> Obviously this is undesirable; when everything is unpickled, references
EMF> to objects in other managers should be just that, references, not
EMF> duplicates.

If there are so many interconnections and one gets corrupted, would the
others not be useless then?
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl



More information about the Python-list mailing list