Ethan Furman wrote:
And the thing going on is the normal python behavior (in __getattribute__, I believe) of examining the returned attribute to see if it is a descriptor, and if so invoking it.

Only if you look it up through the instance, though.
Normally, if you look up an attribute on a class,
the descriptor protocol doesn't get triggered.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to