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 eryksun
Recipients dunric, eryksun, martin.panter
Date 2015-09-02.11:46:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441194381.51.0.160246035046.issue24983@psf.upfronthosting.co.za>
In-reply-to
Content
> exception instance raised in __getattr__ should not lead 
> to its another call but propagated to outer level

In this case the next outer level is your descriptor implementation. You have to ensure it doesn't leak the AttrubuteError. Otherwise the associated __getattribute__ call is implicitly raising AttributeError, and [by design][1] Python must default to calling __getattr__.

[1]: https://docs.python.org/3/reference/datamodel.html#object.__getattribute__
History
Date User Action Args
2015-09-02 11:46:21eryksunsetrecipients: + eryksun, martin.panter, dunric
2015-09-02 11:46:21eryksunsetmessageid: <1441194381.51.0.160246035046.issue24983@psf.upfronthosting.co.za>
2015-09-02 11:46:21eryksunlinkissue24983 messages
2015-09-02 11:46:21eryksuncreate