PEP: statements in control structures (Re: Conditional Expressions don't solve the problem)

Tim Peters tim.one at home.com
Fri Oct 19 05:38:54 CEST 2001


[Andrew Dalke]
> ...
> I love generators and iterators.  :)

Yes, you do, but did you know that they love you too?  They do!  Generators
and iterators are among the most loving features ever introduced.  They will
give and give, without ever asking anything from you save the privilege of
gracing your code, waiting with eager anticipation for you to resume them at
your pleasure, or even to discard them if you tire of their charms.  In
fact, they're almost pathologically yielding.

while-hell-hath-no-fury-like-an-import*-scorned-ly y'rs  - tim





More information about the Python-list mailing list