> Don't recall what that was, but creating a new scope on each iteration > sounds hard to explain in Python.
I don't think it's particularly hard to explain. For example, one way to explain it is to say that for i in <<stuff>>: body is equivalent to for <<hiddenvar>> in <<stuff>>: local i = <<hiddenvar>> body This explanation doesn't need to rest on recursion. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com