Controlling a generator the pythonic way

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Mon Jun 13 01:36:58 CEST 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