Vedran Čačić <ved...@gmail.com> added the comment: Yes, I never really understood what problem people have with it. If I manually say
i = 0 f = lambda a: a[i] i = 1 g = lambda a: a[i] why does anyone expect functions f and g to be different? They have the same argument, and do the same thing with it. The bytecode is completely the same. How can they do different things? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38933> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com