Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:
By the way, loop variables are not considered to be "temporary" in Python. They are no more temporary than any other local variable -- they *are* local variables with exactly the same scope and lifetime as all other local variables. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44332> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com