This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chortos
Recipients Arfrever, chortos, serhiy.storchaka, terry.reedy
Date 2013-09-22.01:34:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379813679.46.0.589057931418.issue19021@psf.upfronthosting.co.za>
In-reply-to
Content
> 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?
History
Date User Action Args
2013-09-22 01:34:39chortossetrecipients: + chortos, terry.reedy, Arfrever, serhiy.storchaka
2013-09-22 01:34:39chortossetmessageid: <1379813679.46.0.589057931418.issue19021@psf.upfronthosting.co.za>
2013-09-22 01:34:39chortoslinkissue19021 messages
2013-09-22 01:34:38chortoscreate