On Fri, Sep 25, 2015 at 2:39 PM, Ryan May <rma...@gmail.com> wrote:
>
> On Fri, Sep 25, 2015 at 3:02 PM, Nathaniel Smith <n...@pobox.com> wrote:
>>
>> The coroutines in 3.5 are just syntactic sugar around features that were
>> added in *2*.5 (yield expressions and yield from), so no need to wait :-).
>> They fall far short of arbitrary continuations, though.
>
>
> Correction: Python 3.4 gained "yield from". Prior to that, you had a lot of
> work to properly delegate from one generator to another.

Ah, right, thanks for the correction. Not sure how much yield from
matters for state machines, but certainly it's great for async IO.

-n

-- 
Nathaniel J. Smith -- http://vorpus.org
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to