On Thu, Jul 12, 2018 at 11:23 PM, Ed Kellett <e+python-l...@kellett.im> wrote: > Could we fix: > > for x in something: > blah(lambda a: a + x) > > while we're at it?
What do you mean by "fix"? Make the 'x' bind eagerly? That would break basically every other use of closures. ChrisA -- https://mail.python.org/mailman/listinfo/python-list