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 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__.
History
Date User Action Args
2013-09-15 07:21:32serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, vstinner, chortos, python-dev, petri.lehtinen
2013-09-15 07:21:32serhiy.storchakasetmessageid: <1379229692.0.0.026746455087.issue12085@psf.upfronthosting.co.za>
2013-09-15 07:21:31serhiy.storchakalinkissue12085 messages
2013-09-15 07:21:31serhiy.storchakacreate