This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zach.ware
Recipients artxyz, zach.ware
Date 2016-09-21.15:27:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474471625.99.0.615900645669.issue28241@psf.upfronthosting.co.za>
In-reply-to
Content
See https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result

Note that `lambda: x**2` is equivalent to `def FUN(): return x**2`.
History
Date User Action Args
2016-09-21 15:27:06zach.waresetrecipients: + zach.ware, artxyz
2016-09-21 15:27:05zach.waresetmessageid: <1474471625.99.0.615900645669.issue28241@psf.upfronthosting.co.za>
2016-09-21 15:27:05zach.warelinkissue28241 messages
2016-09-21 15:27:05zach.warecreate