[issue26575] lambda not closed on specific value in comprehension

2016-03-20 Thread David Goffredo
New submission from David Goffredo: A series of lambdas referring to a variable in a comprehension do not hold distinct values, while conventional higher order function do. PS C:\Users\David\Desktop> python Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] o

[issue26575] lambda not closed on specific value in comprehension

2016-03-19 Thread Martin Panter
Martin Panter added the comment: https://docs.python.org/3.5/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result -- nosy: +martin.panter resolution: -> not a bug status: open -> closed ___ Python tra