A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-July/066930.html below:

[Python-Dev] 2.5 and beyond

[Python-Dev] 2.5 and beyond [Python-Dev] 2.5 and beyondAndrew Koenig ark at acm.org
Sun Jul 2 02:22:46 CEST 2006
> 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.



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4