>>>>> exar...@twistedmatrix.com (e) wrote:

>e> I specifically left out all "yield" statements in my version, since that's
>e> exactly the point here. :)  With "real" coroutines, they're not necessary -
>e> coroutine calls look just like any other call.  With Python's enhanced
>e> generators, they are.

The first time I encountered coroutines was in Simula-67. Coroutine
switching was certainly explicit there. IIRC, the keyword was resume.
-- 
Piet van Oostrum <p...@cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: p...@vanoostrum.org
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to