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 cheryl.sabella
Recipients Paul.Davis, cheryl.sabella, docs@python, dstanek, eric.araujo, terry.reedy
Date 2017-12-08.16:32:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512750723.97.0.213398074469.issue8722@psf.upfronthosting.co.za>
In-reply-to
Content
Terry,

Thanks for clarifying with this example.  I hadn't tried this when I was playing with the other example.  I guess __getattribute__ might be defined by a class, but generally wouldn't be called directly, so the use of __getattr__ and __getattribute__ and the raising of AttributeError is more for an `attributeref` (https://docs.python.org/3/reference/expressions.html#attribute-references) usage?
History
Date User Action Args
2017-12-08 16:32:03cheryl.sabellasetrecipients: + cheryl.sabella, terry.reedy, dstanek, eric.araujo, docs@python, Paul.Davis
2017-12-08 16:32:03cheryl.sabellasetmessageid: <1512750723.97.0.213398074469.issue8722@psf.upfronthosting.co.za>
2017-12-08 16:32:03cheryl.sabellalinkissue8722 messages
2017-12-08 16:32:03cheryl.sabellacreate