Hugo Ricateau <hugo.ricat...@gmail.com> added the comment:

Thanks for this detailed answer; very instructive :)

> the descriptor protocol is only triggered by "dotted access"

Indeed; this is what I was missing... despite it is indirectly mentioned in the 
documentation. Nonetheless, it could be worth the overload to explicitly add in 
the language reference that 'the descriptor protocol is only triggered by 
"dotted access"' (looks like it is not the case for now).

>    + a list enumerating places where descriptors are *not* invoked
> [...]
> Which of those do you think would have helped you the most?

Could be really helpful as well, by clearly exhibiting the limitations of the 
descriptors; I think the best location for this could be the 'descriptors 
howto' page despite the other option is perfectly suitable as well.

Best,
Hugo

----------

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

Reply via email to