[issue18047] Descriptors get invoked in old-style objects and classes

2013-05-28 Thread Arnaud Porterie
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

[issue18047] Descriptors get invoked in old-style objects and classes

2013-05-23 Thread Arnaud Porterie
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