[Stackless] how to check for C stack?

Giovanni Bajo giovannibajo at libero.it
Mon Feb 23 14:23:06 CET 2004


Christian Tismer wrote:

> So, testing for "t.nesting_level == 0" gives you a safe criterion
> whether the unpickle will be runnable.

Thanks!

> I agree this should better be available via an extra property.
> If you can give me a reasonable name for that property, I'm
> happy to add it.
> Maybe "clonable"? Bad, since we can clone but not run. Hmm.
> "runnable"? Bad.

I think I've already asked, but I still can't get my mind around it: why should
one want to clone a tasklet which can't be run? It looks like totally useless
to me, it creates a "broken" clone. Maybe "safe_for_pickling" ?

Giovanni Bajo



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



More information about the Stackless mailing list