Arnaud Porterie added the comment:
Sorry if I am missing something, but it seems that the documentation doesn't
match the behavior: the doc says that descriptors are invoked only for new
styles objects and classes, while the attached code seems to prove the contrary.
If my understandi
New submission from Arnaud Porterie:
In the Data Model section of the documentation regarding descriptors
invokations
(http://docs.python.org/2/reference/datamodel.html#invoking-descriptors), it is
said:
Note that descriptors are only invoked for new style objects or classes
(ones that