[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)
12 Dec
2017
12 Dec
'17
12:24 a.m.
Lior Cohen <chnlior@gmail.com> added the comment: Joining @Serhiy Storchaka last question. Is the __get__ method existance is a must be a data descriptor? According to the C implementation in descrobject.h ``` #define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL) #endif ``` the answer is No. Does this C code reflect the true definition? ---------- nosy: +chnlior _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue26103> _______________________________________
2498
Age (days ago)
2498
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lior Cohen