Unpickling crashing my machine
peufeu at free.fr
Fri Jul 30 20:03:14 CEST 2004
OK ! Thanks a lot for this info.
> Correct. If each object dumped is independent of all the other objects
> being dumped you should clear the memo after each dump() call in the
> p = cPickle.Pickler( myfile, -1 )
> for object in objects :
> p.dump( object )
> The first case doesn't suffer from this problem because each call to
> cPickle.dump() creates a new Pickler, and thus a new memo.
More information about the Python-list