Message365863
> It should use PyType_GetSlot()
Oh. It seems like currently, PyType_GetSlot() can only be used on a heap allocated types :-( The function starts with:
if (!PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE) || slot < 0) {
PyErr_BadInternalCall();
return NULL;
} |
|
Date |
User |
Action |
Args |
2020-04-06 15:25:55 | vstinner | set | recipients:
+ vstinner, Michael.Felt, corona10, shihai1991, petdance |
2020-04-06 15:25:55 | vstinner | set | messageid: <1586186755.78.0.0977013607679.issue40170@roundup.psfhosted.org> |
2020-04-06 15:25:55 | vstinner | link | issue40170 messages |
2020-04-06 15:25:55 | vstinner | create | |
|