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

Arnaud Porterie report at bugs.python.org
Tue May 28 21:46:46 CEST 2013


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 understanding is correct, either the doc or the code should be changed accordingly.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18047>
_______________________________________


More information about the Python-bugs-list mailing list