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 mark.dickinson
Recipients mark.dickinson, r.david.murray, tq0fqeu
Date 2009-07-16.10:46:33
SpamBayes Score 0.000603957
Marked as misclassified No
Message-id <1247741195.97.0.770548138866.issue6495@psf.upfronthosting.co.za>
In-reply-to
Content
This has to do with the order that things are deleted/cleaned-up on 
interpreter shutdown.  In the reported case, it just happens that the 
'Person' entry in the globals() dict is deleted *before* __del__ is called 
on the last Person instance, causing problems for the lookup of 'Person' 
that's involved in the line 'Person.population -= 1'.

I wonder whether the output from these 'ignored' exceptions on interpreter 
shutdown could be suppressed entirely, at least for non-debug builds?
History
Date User Action Args
2009-07-16 10:46:36mark.dickinsonsetrecipients: + mark.dickinson, r.david.murray, tq0fqeu
2009-07-16 10:46:35mark.dickinsonsetmessageid: <1247741195.97.0.770548138866.issue6495@psf.upfronthosting.co.za>
2009-07-16 10:46:34mark.dickinsonlinkissue6495 messages
2009-07-16 10:46:33mark.dickinsoncreate