Dennis Sweeney <sweeney.dennis...@gmail.com> added the comment:
There's an FAQ entry here: https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47028> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com