Message197754
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__. |
|
Date |
User |
Action |
Args |
2013-09-15 07:21:32 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, vstinner, chortos, python-dev, petri.lehtinen |
2013-09-15 07:21:32 | serhiy.storchaka | set | messageid: <1379229692.0.0.026746455087.issue12085@psf.upfronthosting.co.za> |
2013-09-15 07:21:31 | serhiy.storchaka | link | issue12085 messages |
2013-09-15 07:21:31 | serhiy.storchaka | create | |
|