[issue15113] IDLE Shell: delattr(__builtins__, "getattr") causes shell to stop working

Amaury Forgeot d'Arc report at bugs.python.org
Wed Jun 20 14:35:41 CEST 2012


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

I'm afraid it's not feasible.  Python (or IDLE) is allowed to rely on Python working correctly, and if commonly used functions are modified there will be unexpected errors.

Likewise in 3.3, after a "del __builtins__.hasattr", even import statements will fail...

----------
nosy: +amaury.forgeotdarc
status: pending -> open

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


More information about the Python-bugs-list mailing list