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 petri.lehtinen
Recipients chortos, petri.lehtinen, vstinner
Date 2011-05-26.11:20:27
SpamBayes Score 1.0067646e-08
Marked as misclassified No
Message-id <1306408827.87.0.144035560533.issue12085@psf.upfronthosting.co.za>
In-reply-to
Content
> I'm not sure that it's the pythonic way to solve such problem. Can you work on a patch including a test?

Yeah, getattr() might be more Pythonic indeed.

How can this be tested? According to the initial report, exceptions raised in __del__ seem to be ignored.
History
Date User Action Args
2011-05-26 11:20:27petri.lehtinensetrecipients: + petri.lehtinen, vstinner, chortos
2011-05-26 11:20:27petri.lehtinensetmessageid: <1306408827.87.0.144035560533.issue12085@psf.upfronthosting.co.za>
2011-05-26 11:20:27petri.lehtinenlinkissue12085 messages
2011-05-26 11:20:27petri.lehtinencreate