[Python-Dev] ob_refcnt access

Guido van Rossum guido at CNRI.Reston.VA.US
Mon Jun 28 22:07:50 CEST 1999


> Part of the problem is that we didn't have the feature to play with.
> Many of the possibilities are showing up now that it's here...
> 
> The basic advantage to coroutines is they allow you to turn any
> event-driven/state-machine problem into one that is managed with
> 'normal' control state; i.e., for loops, while loops, nested procedure
> calls, etc...
> 
> Here are a few possible real-world uses:

Thanks, Sam!  Very useful collection of suggestions.  (How come I'm
not surprised to see these coming from you ;-)

--Guido van Rossum (home page: http://www.python.org/~guido/)




More information about the Python-Dev mailing list