Mix lambda and list comprehension?

Jeremy Hylton jeremy at alum.mit.edu
Tue Jul 15 18:46:48 CEST 2003

On Tue, 2003-07-15 at 11:32, Peter Barth wrote:
> Thanks a lot, works fine.
> However, the solution does not really feel "pythonesque".
> Is it considered a usability bug or fine as is?

If there's something that's not Pythonesque, I'd say its creating
function objects inside a list comprehension, not the standard scoping
rules that apply everywhere.


More information about the Python-list mailing list