Message308078
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? |
|
| Date |
User |
Action |
Args |
| 2017-12-11 23:24:10 | chnlior | set | recipients:
+ chnlior, rhettinger, docs@python, serhiy.storchaka, yselivanov, Aaron Hall, Mariatta |
| 2017-12-11 23:24:10 | chnlior | set | messageid: <[email protected]> |
| 2017-12-11 23:24:10 | chnlior | link | issue26103 messages |
| 2017-12-11 23:24:09 | chnlior | create | |
|