Generators versus Coroutines
Nick Patavalis
npat at efault.net
Sun Aug 15 06:53:10 EDT 2004
On 2004-08-14, Paul Rubin <> wrote:
>
> You can't yield across multiple levels of function calls. That's why
> they're called "simple generators" instead of just "generators".
>
For me it would be *tremendously* usefull if one could yield across
multiple levels of function calls. If this was supported, then most
uses of O/S treads could be replaced by generators.
Does anyone know if such a feature is planned?
/npat
More information about the Python-list
mailing list