Lior Cohen <chnl...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue26103> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com