[Python-Dev] code blocks using 'for' loops and generators

Brian Sabbey sabbey at u.washington.edu
Sun Mar 13 03:00:00 CET 2005


On Sat, 12 Mar 2005, Josiah Carlson wrote:

> I stand by my "clever hack" statement, and I will agree to disagree with 
> you on it, like I agree to disagree with you about both the necessity of 
> passing arbitrary values back into a generator (I think it is poor 
> style, and too much brain overhead to wonder where data is coming from), 
> and the necessity of a new syntax to make such things "easier" (if 
> (ab)using generators in such a way makes /anything/ "easier").

I will also agree to disagree. If I may also summarize, you see such 
syntax as magical, non-obvious and unnecessary, and I find it clean and 
useful.

-Brian


More information about the Python-Dev mailing list