[Python-ideas] yield from multiple iterables (was Re: The async API of the future: yield-from)

Guido van Rossum guido at python.org
Sun Oct 21 00:39:59 CEST 2012


On Sat, Oct 20, 2012 at 1:06 PM, Christian Tismer <tismer at stackless.com> wrote:
> I often see the phrase "coroutine" but
> without explicit mention if symmetric
> (greenlet) or asymmetric (Lua).
>
> Then when I hear myself quibbling
> about "full generators" then I mean
> generators that are made up of a few
> functions that all can yield to the
> caller of this generator.
>
> Question: is "full generators" equivalent
> to "asymmetric coroutine"?
>
> Question 2: when people talk about
> coroutines, is "asymmetric" the default
> here?
>
> The reason that I ask is my fear to
> create problems when answering to
> messages with different default meanings
> in mind.

I believe I just answered this is another thread (that you also started).

-- 
--Guido van Rossum (python.org/~guido)



More information about the Python-ideas mailing list