[issue45469] lambda issue in for-loop

Steven D'Aprano report at bugs.python.org
Thu Oct 14 08:54:12 EDT 2021


Steven D'Aprano <steve+python at pearwood.info> added the comment:

See also the FAQs:

https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45469>
_______________________________________


More information about the Python-bugs-list mailing list