Generator expressions v/s list comprehensions

Mahesh Padmanabhan mahesh at privacy.net
Sun Aug 29 19:09:44 EDT 2004


In article <87llfywooz.fsf at sinken.local.csis.hku.hk>,
 Isaac To <iketo2 at netscape.net> wrote:

[snip]

Thanks Isaac for providing such a detailed explanation. I understand now 
why generator expressions make more sense. 

I just wish that generator expressions had been designed into the 
language without going the way of list comprehension -> generator 
expressions.



More information about the Python-list mailing list