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

Guido van Rossum guido at python.org
Wed Nov 28 18:59:01 CET 2007


On Nov 28, 2007 9:39 AM, Georg Brandl <g.brandl at gmx.net> wrote:
> 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".

The global statement will not be changed or renamed.

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


More information about the Python-Dev mailing list