On Wednesday 22 October 2003 09:18 pm, Tim Peters wrote: <snip> > Those are the semantics for which "it works". I'm convinced; not only that free variables should be frozen as if they'd been passed into a generator function as keyword arguments, but of the utility of generator expressions as a whole -- that code is just beautiful :) Jeremy