[Stackless] liberating stackless.run()

Richard Tew richard.m.tew at gmail.com
Fri Feb 7 19:51:34 CET 2014

Sounds good.

On 2/8/14, Kristján Valur Jónsson <kristjan at ccpgames.com> wrote:
> So,
> I have a very nice change in the wings for stackless.
> in my stackless-scratch repo
> (https://bitbucket.org/krisvale/stackless-scratch) there is a branch called
> nested-run.
> This allows stackless.run() to be called from any tasklet.  What is more,
> more than one stackless.run() can be in effect.  They nest and the innermost
> is in effect at  any one time.
> This is useful because we can now write code that runs e.g. the event loop
> on a tasklet.  This simplifies e.g. monkeypatching code.
> There is a bunch of unittests involved, testing this.
> In the process, I discovered that the deadlock detection and handling code
> in 2.7 was broken in various ways.  I have fixed that and added unittests in
> stackless-dev/stackless.
> Cheers,
> K

More information about the Stackless mailing list