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 mwm
Recipients ggenellina, mwm
Date 2009-02-28.19:31:28
SpamBayes Score 8.60772e-11
Marked as misclassified No
Message-id <1235849490.19.0.277874230133.issue5370@psf.upfronthosting.co.za>
In-reply-to
Content
The args attribute gets created by __init__ and nothing in the class
removes it. I don't think it's unreasonable for the class to expect the
attribute to not vanish on it. Possibly it should be spelled __args (or
declared private :-), but neither of those would make a difference in
this case.

Any feature access can be made more robust by checking for it in
__dict__ first, but such a practice is neither practical nor pragmatic.
It may be different for __getargs__, in which case the bug is in the
documentation for __getargs__, which should mention this issue.
History
Date User Action Args
2009-02-28 19:31:30mwmsetrecipients: + mwm, ggenellina
2009-02-28 19:31:30mwmsetmessageid: <1235849490.19.0.277874230133.issue5370@psf.upfronthosting.co.za>
2009-02-28 19:31:28mwmlinkissue5370 messages
2009-02-28 19:31:28mwmcreate