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/2007-November/075442.html below:

[Python-Dev] [poll] New name for __builtins__

[Python-Dev] [poll] New name for __builtins__ [Python-Dev] [poll] New name for __builtins__Nick Coghlan ncoghlan at gmail.com
Thu Nov 29 14:16:46 CET 2007
Christian Heimes wrote:
> I tend to agree that local, nonlocal, global and the-other-thingie are
> more like the layers of an onion than a tree. It makes sense to me. The
> name lookup starts at the local level and goes all the way out until it
> reaches the universal level. Or does it go in until it reaches the core
> of the onion? It's a matter of perspective. __universal__ or __core__ ?

Function locals, module globals and program universals would make more 
sense to me - outer layers have a broader scope than inner layers.

If we wanted to beat the metaphor to death we could even rename nonlocal 
to regional ;)

Cheers,
Nick.

P.S. Just to be clear, I am definitely NOT suggesting that renaming 
nonlocal like that would be a good idea :)

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
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