Message197754
| Author |
serhiy.storchaka |
| Recipients |
chortos, petri.lehtinen, python-dev, serhiy.storchaka, terry.reedy, vstinner |
| Date |
2013年09月15日.07:21:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1379229692.0.0.026746455087.issue12085@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As Victor suggested in msg136939 we can use a class attribute. This technique is used in some other places in the stdlib (perhaps for other purposes). For example in subprocess.Handle.
We should check all defined __del__-s in stdlib and fix them all if they use a instance attribute created in __init__. |
|