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/075398.html below:

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

[Python-Dev] [poll] New name for __builtins__ [Python-Dev] [poll] New name for __builtins__Georg Brandl g.brandl at gmx.net
Wed Nov 28 18:39:34 CET 2007
Steve Holden schrieb:

>> What name do you prefer? I'm +1 with Raymond on __root__ but I'm still
>> open for better suggestions.
>> 
> The namespace should really be called __global__. I doubt this will fly, 
> because it's too radical, and unfortunately would undermine the "global" 
> keyword, used in 2.x to indicate that a name should be sought in the 
> module namespace.

There are quite a few other places where "globals" is used with that meaning.

> I doubt many people would want to replace "global" with "module".
> 
> What's it being replaced with in 3.x?

Nothing yet, it's still there, together with "nonlocal".

Georg

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