[Stackless] Pickling example using Sieve of Eratosthenes

Andrew Francis andrewfr_ice at yahoo.com
Mon Nov 2 04:54:34 CET 2009


Hello Andrew:

--- On Sun, 11/1/09, Andrew Dalke <dalke at dalkescientific.com> wrote:

> You can see the hard-coded filename for both saving and
> restoring. It does not matter at all which command-line
> parameter you give it, it will read from the file
> "sieve.dat". 

Actually that is what I wanted it to do since I don't give an
option for a file name to save the pickled state. I just want
a way of telling the programme to read the pickled state.

Yes in retrospect it is lazy of me for not getting rid of this vestige of testing and making things more clear.

But at the end of the day, if this causes confusion, then I will
change it. 

And yes I asked for comments and you gave them and most were useful.

Cheers,
Andrew



      




More information about the Stackless mailing list