[Python-ideas] Cofunctions/yield from -> fibers

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 13 09:54:07 CEST 2010


Nick Coghlan wrote:

> I think the cofunction discussion suggests that there are some very
> different possible answers as to what is the scheduler's
> responsibility and what is the responsibility of the individual
> coroutines. Picking one of them as a winner by blessing it with syntax
> seems rather premature.

I don't follow. How does the syntax I've suggested
have any bearing on what is the responsibility of the
scheduler?

As far as I can see, it stays out of the way and lets
the scheduler and coroutines thrash out whatever
agreement they want between them.

-- 
Greg





More information about the Python-ideas mailing list