Message178938
The FAQ (as in, this question gets asked again and again) is something like "why do the lambdas I define in a loop all return the same result when the input value was different when each one was defined?"
The same applies to regular functions, but people almost never do that in a loop, so in that case they are more likely to think of the scoping issue. |
|
Date |
User |
Action |
Args |
2013-01-03 12:30:39 | r.david.murray | set | recipients:
+ r.david.murray, ezio.melotti, eric.araujo, chris.jerdonek, docs@python, Tomáš.Dvořák |
2013-01-03 12:30:39 | r.david.murray | set | messageid: <1357216239.54.0.00481985352528.issue13094@psf.upfronthosting.co.za> |
2013-01-03 12:30:39 | r.david.murray | link | issue13094 messages |
2013-01-03 12:30:39 | r.david.murray | create | |
|