[issue3462] test_builtin fails after test_decimal

Amaury Forgeot d'Arc report at bugs.python.org
Tue Jul 29 17:42:52 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

You know what? It's a mess.
- from the __main__ module, __builtins__ is a module.
- in all other modules, __builtins__ is a dict.

The fix is correct for most modules:
    ./python Lib\test\test_decimal.py
but fails for
    ./python Lib\doctest.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3462>
_______________________________________


More information about the Python-bugs-list mailing list