Saving recursive objects to disc. cPickle wan't work.

Alex Polite m4 at polite.se
Fri May 28 10:11:28 EDT 2004


On ons, maj 26, 2004 at 02:22:21 +0000, Alex Polite wrote:
> I need to put recursive data structures on disc and found out that cPickle
> doesn't like recursion.
> 
> What are my options?
> 
> alex

Christian Tismer had the kindness to look at my code and point out
that I might want to use pickle instead of cPickle, at least if I
wanted to benefit from using stackless. Chaning from cPickle to pickle
allowed to run the code under stackless as well as under standard
python.

thanks Christian.

alex

-- 
Alex Polite
http://polite.se



More information about the Python-list mailing list