Message164074
| Author |
mark.dickinson |
| Recipients |
mark.dickinson, prime |
| Date |
2012年06月26日.13:19:09 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340716750.78.0.344401203877.issue15193@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The exception you report looks incomplete: there should be something after the 'no attribute' saying which attribute lookup failed.
In any case, I don't thing this is a bug. It sounds like a result of the unpredictability of cleanup order at interpreter shutdown: you're encountering a situation where the 'Person' reference has already been deleted from the module namespace before the __del__ method for one of the Person instances gets called; so the 'Person' name lookup in the __del__ method fails. You could get around this by replacing 'Person' with 'type(self)' in __del__. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月26日 13:19:11 | mark.dickinson | set | recipients:
+ mark.dickinson, prime |
| 2012年06月26日 13:19:10 | mark.dickinson | set | messageid: <1340716750.78.0.344401203877.issue15193@psf.upfronthosting.co.za> |
| 2012年06月26日 13:19:10 | mark.dickinson | link | issue15193 messages |
| 2012年06月26日 13:19:09 | mark.dickinson | create |
|