[Python-ideas] Cofunctions - Back to Basics

Arnaud Delobelle arnodel at gmail.com
Thu Oct 27 21:15:53 CEST 2011


On 27 October 2011 20:03, Ethan Furman <ethan at stoneleaf.us> wrote:
> Sven Marnach wrote:
>>
>> The usual term in programming is "coroutine" rather than "cofunction":
>>
>>    http://en.wikipedia.org/wiki/Coroutine
>
> That article states that Python has coroutines as of 2.5 -- that's
> incorrect, isn't it?

Generator functions + trampoline = coroutines

-- 
Arnaud



More information about the Python-ideas mailing list