> lambda: yield x*x for x in a Sorry, this was considered and rejected ages ago. Please don't open the syntactic discussion on generator expressions; we've had it already and you're unlikely to unearth anything new. --Guido van Rossum (home page: http://www.python.org/~guido/)