Author chnlior
Recipients Aaron Hall, Mariatta, chnlior, docs@python, rhettinger, serhiy.storchaka, yselivanov
Date 2017-12-11.23:24:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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)
the answer is No.
Does this C code reflect the true definition?
Date User Action Args
2017-12-11 23:24:10chnliorsetrecipients: + chnlior, rhettinger, docs@python, serhiy.storchaka, yselivanov, Aaron Hall, Mariatta
2017-12-11 23:24:10chnliorsetmessageid: <>
2017-12-11 23:24:10chnliorlinkissue26103 messages
2017-12-11 23:24:09chnliorcreate