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 <1513034650.05.0.213398074469.issue26103@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
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: <1513034650.05.0.213398074469.issue26103@psf.upfronthosting.co.za>
2017-12-11 23:24:10chnliorlinkissue26103 messages
2017-12-11 23:24:09chnliorcreate