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 r.david.murray
Recipients bup, r.david.murray
Date 2018-01-26.22:36:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517006167.24.0.467229070634.issue32683@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is a bug.  There are many ways to lie in Python.  If your object lies, it is on your head when things break :)  On the flip side, the ability to lie is very handy in many circumstances, and is often a case of duck typing rather than lying.  Unless I'm missing something, __getattribute__ is how attributes are accessed, so there would have to be a strong reason to deviate from that.
History
Date User Action Args
2018-01-26 22:36:07r.david.murraysetrecipients: + r.david.murray, bup
2018-01-26 22:36:07r.david.murraysetmessageid: <1517006167.24.0.467229070634.issue32683@psf.upfronthosting.co.za>
2018-01-26 22:36:07r.david.murraylinkissue32683 messages
2018-01-26 22:36:07r.david.murraycreate