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/2003-October/039413.html below:

[Python-Dev] Re: closure semantics

[Python-Dev] Re: closure semantics [Python-Dev] Re: closure semanticsGuido van Rossum guido at python.org
Thu Oct 23 20:11:36 EDT 2003
[Tim Delane]y
> Going on the principle of least surprise, I have to say that I think
> explicitly naming the scope in which a variable is to be used is the
> best approach.
[...]
> 'global x in func1' is also a *lot* easier to explain.
> 
> I think these two points should weigh heavily in any decision. I
> think the need to rename the target scope is of lesser importance.

I have to concur.  EIBTI.

--Guido van Rossum (home page: http://www.python.org/~guido/)

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