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 <>
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.
Date User Action Args
2013-10-13 21:34:15serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou
2013-10-13 21:34:15serhiy.storchakasetmessageid: <>
2013-10-13 21:34:15serhiy.storchakalinkissue19255 messages
2013-10-13 21:34:15serhiy.storchakacreate