On Jan 20, 6:37 am, Terry Reedy wrote:
> [email protected] wrote:
> > Using new features of python generators, as described in PEP 0342, it
> > is possible to write some sort of "tasklets" in a maner very similar
> > to stackless python, but running on cpython. For example :
>
> > @tasklet
> >
Hello all,
Using new features of python generators, as described in PEP 0342, it
is possible to write some sort of "tasklets" in a maner very similar
to stackless python, but running on cpython. For example :
@tasklet
def my_task():
yield Timer(10)
yield "result"
@tasklet
def other_task(