![](https://secure.gravatar.com/avatar/047f2332cde3730f1ed661eebb0c5686.jpg?s=120&d=mm&r=g)
May 3, 2004
4:09 a.m.
What if generator expressions were allowed *only* as a parameter to a function call?
Would that help avoid leading people into the trap of using them where they're not appropriate?
Nah, people would just use an identity function to work around the restriction. --Guido van Rossum (home page: http://www.python.org/~guido/)