[issue3462] test_builtin fails after test_decimal
Antoine Pitrou
report at bugs.python.org
Tue Jul 29 17:52:37 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
Selon Amaury Forgeot d'Arc <report at bugs.python.org>:
>
> You know what? It's a mess.
> - from the __main__ module, __builtins__ is a module.
> - in all other modules, __builtins__ is a dict.
(why is it so? :-O)
Anyway:
import builtins as b
b._ = None
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3462>
_______________________________________
More information about the Python-bugs-list
mailing list