[Stackless] cPickle should work?
Josh Ritter
jritter at prairiegames.com
Tue May 2 11:31:49 CEST 2006
I am glad that cPickle is intended to work :)
It works if I copy the python.exe from my stackless svn build into my 2.4.3
installation. Otherwise, it gives that traceback.
Any idea on why this would be?
Thanks,
-Josh Ritter
Prairie Games, Inc
http://www.prairiegames.com
----- Original Message -----
From: "Richard" <richard at ccpgames.com>
To: <stackless at stackless.com>
Sent: Tuesday, May 02, 2006 2:21 AM
Subject: Re: [Stackless] cPickle should work?
>> From: Josh Ritter on 02 May 2006 01:55
>> Does the cPickle module work with Stackless? The following
>> code works if I
>> use the pickle module, though fails when using cPickle with
>> this traceback:
>
> Hi Josh,
>
> There is only one known bug with pickling. Nothing major, just
> been too lazy to fix it. But I doubt it is involved here.
>
> This worked fine for me. It worked fine with the version of
> Stackless I have compiled in my svn checkout. It worked fine
> with the Python 2.4 installation I have with Stackless dlls
> copied into it. I am not sure that installation has the right
> Stackless modified lib files either.
>
> I have no idea why you might be getting this error.
>
> Schedule 1:
> aCallable<A>: Before schedule()
> aCallable<B>: Before schedule()
> aCallable<C>: Before schedule()
> aCallable<D>: Before schedule()
> aCallable<E>: Before schedule()
>
> Pickling...
>
> Schedule 2:
> aCallable<A>: After schedule()
> aCallable<B>: After schedule()
> aCallable<C>: After schedule()
> aCallable<D>: After schedule()
> aCallable<E>: After schedule()
>
> Schedule Unpickled Tasks:
> aCallable<A>: After schedule()
> aCallable<B>: After schedule()
> aCallable<C>: After schedule()
> aCallable<D>: After schedule()
> aCallable<E>: After schedule()
>
>
> Richard.
>
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list