New submission from ppperry: In IDLE the following code silently works: >>> del __builtins__ >>> min <built-in function min>
In the standard interpreter, it produces an error: >>> del __builtins__ >>> min Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'min' is not defined Note that saying `__builtins__ = 7` fails in idle as well. ---------- components: IDLE, Interpreter Core messages: 254149 nosy: ppperry priority: normal severity: normal status: open title: IDLE behaves differently that the standard interpreter when someone types `del __builtins__` _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25564> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com