Message199810
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:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou |
2013-10-13 21:34:15 | serhiy.storchaka | set | messageid: <1381700055.32.0.691639350713.issue19255@psf.upfronthosting.co.za> |
2013-10-13 21:34:15 | serhiy.storchaka | link | issue19255 messages |
2013-10-13 21:34:15 | serhiy.storchaka | create | |
|