On Jan 20, 6:37 am, Terry Reedy wrote:
> charlie...@gmail.com 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
> >
charlie...@gmail.com 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
def my_task():
yield Timer(10)
yield "result"
@task
En Mon, 19 Jan 2009 09:59:17 -0200, escribió:
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 :
[...]
This kind of tool is very useful, but unfortu
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(