Controlling a generator the pythonic way

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Sun Jun 12 19:36:58 EDT 2005


Thomas Lotze wrote:

> call. The picture might fit better (IMO) if it didn't look so much
> like working around the fact that the next() call can't take
> parameters for some technical reason. 

You might want to take a look at PEP 342
<http://www.python.org/peps/pep-0342.html>. Doesn't help you now, but it
will in the future.

Tim Delaney



More information about the Python-list mailing list