Calling a generator multiple times

Just van Rossum just at xs4all.nl
Sat Dec 8 21:59:09 CET 2001


Courageous wrote:
> 
> >If it _was_ "plain wrong" it wouldn't be the way it is.
> 
> One of the objections to what I've written has been, on several
> occasions, "After you've worked with them for a while, you'll
> not have any problems with them" or some equivalent. What's
> wrong-headed about this kind of thinking is that this is true
> of original programmers everywhere. They always generally
> understand their own code. Embedding a keyword deep in a function
> definition and then having this embedding make the function
> in effect behave entirely differently isn't just wrong, it's
> bizarre.

How can you say that with such absolutely certainty? Have you read
the PEP now?

Just



More information about the Python-list mailing list