Cheryl Sabella <chek...@gmail.com> added the comment:

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?

----------
nosy: +csabella

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue8722>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to