Controlling a generator the pythonic way

Delaney, Timothy C (Timothy) tdelaney at
Tue Jun 14 00:36:02 CEST 2005

Steve Holden wrote:

> Sigh indeed. But if you allow next() calls to take arguments you are
> effectively arguing for the introduction of full coroutines into the
> language, and I suspect there would be pretty limited support for
> that. 

You mean `PEP 342`_ which I posted earlier and is considered pretty

I think I may suggest that the name of the PEP be changed to "Coroutines
using advanced iterators".

.. _`PEP 342`:

Tim Delaney

More information about the Python-list mailing list