Oleg Oshmyan added the comment: > Anothe possible solution is get rid from getattr and catch > AttributeError instead.
Surely this would suffer from the same issue? Why are the builtins getting deleted anyway? In fact, why is getattr getting deleted from the builtins module? The __builtins__ global is specifically not deleted when deleting modules to let destructors use builtins, and indeed the error message says "is not callable", suggesting the builtins module is still there but getattr is not. Is this perhaps some sort of IDLE bug? ---------- nosy: +chortos _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19021> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com