Message90566
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? |
|
Date |
User |
Action |
Args |
2009-07-16 10:46:36 | mark.dickinson | set | recipients:
+ mark.dickinson, r.david.murray, tq0fqeu |
2009-07-16 10:46:35 | mark.dickinson | set | messageid: <1247741195.97.0.770548138866.issue6495@psf.upfronthosting.co.za> |
2009-07-16 10:46:34 | mark.dickinson | link | issue6495 messages |
2009-07-16 10:46:33 | mark.dickinson | create | |
|