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 serhiy.storchaka
Recipients pitrou, serhiy.storchaka
Date 2013-10-13.21:34:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381700055.32.0.691639350713.issue19255@psf.upfronthosting.co.za>
In-reply-to
Content
Many __del__ methods expect that builtins are existing at the time of executing. But when the object survives until the builtins module is wiped, __del__ will fail with unexpected AttributeError (see issue19021 for example). We can change __del__'s in the stdlib to not use non-cached builtins, but third party code will be broken.

Perhaps we should special case shutdown of the builtins module. E.g. reset it to initial value (all initial members of the builtins module are immutable and can't create resource loops) instead wiping.
History
Date User Action Args
2013-10-13 21:34:15serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou
2013-10-13 21:34:15serhiy.storchakasetmessageid: <1381700055.32.0.691639350713.issue19255@psf.upfronthosting.co.za>
2013-10-13 21:34:15serhiy.storchakalinkissue19255 messages
2013-10-13 21:34:15serhiy.storchakacreate