[Python-Dev] [poll] New name for __builtins__
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".
More information about the Python-Dev