coroutines?

David Eppstein eppstein at ics.uci.edu
Fri Jun 15 16:01:51 EDT 2001


In article <9gdnp8$80c$1 at panix3.panix.com>, aahz at panix.com (Aahz Maruch) 
wrote:

> >What I really want is coroutines.  
> 
> See PEP 255, posted just a couple of days ago.  ;-)

Looks like a very nice feature, but I don't think it solves my problem -- I 
already have everything in a nice list I can iterate over, the problem is 
that I have to simulate the iteration by hand rather than using a nice for 
loop because the control flow is incompatible with the windowing system.

PEP 219 looks more relevant, but doesn't look ready for prime time
(and hasn't been ported to the Mac)...
-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/



More information about the Python-list mailing list