[Stackless] Mistakes, Corrections and Questions Concerning My Pickle ExampleRe:cPickleshould work?

Richard richard at ccpgames.com
Tue May 9 15:11:15 CEST 2006


> From Richard on 09 May 2006 12:51
> 
> It appears I was wrong here.  I was using a build of Stackless
> before my pickling crash fix.  Now you just get a unbound tasklet
> that cannot be run as a result of this unpickling.  Maybe tasklets
> pickled this way are garbage.

Looks like pickling is broken, will need to look into this..

>>> print [x.balance for x in channels]
[-1, -1, -1]
>>> print "unpickling channels"
unpickling channels
>>> g = open("channel.dat")
>>> channels = pickle.load(g)
>>> g.close()
>>> print [x.balance for x in channels]
[0, -1, -1]
>>>

Richard.

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list