[New-bugs-announce] [issue1498] Rename __builtins__ to __root_namespace__?

Guido van Rossum report at bugs.python.org
Mon Nov 26 18:50:43 CET 2007

New submission from Guido van Rossum:

In http://bugs.python.org/issue1774369 I mentioned that I wanted to
rename __builtins__ to __rootns__.  Though right now I think something
longer and less cryptic might be better.  The reason is to avoid for
once and for all the confusion between __builtin__, which is a module,
and __builtins__, a feature mainly used by sandboxing to pass the set of
builtins to be used via the global namespace.  This lay at the heart of
the referenced bug.

I'm still in favor of this but haven't had the time to investigate how
much work it would be.

messages: 57842
nosy: gvanrossum
priority: normal
severity: normal
status: open
title: Rename __builtins__ to __root_namespace__?
versions: Python 3.0

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list