Message 365863 - Python tracker
Message365863
| Author | vstinner |
|---|---|
| Recipients | Michael.Felt, corona10, petdance, shihai1991, vstinner |
| Date | 2020-04-06.15:25:55 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1586186755.78.0.0977013607679.issue40170@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> 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;
} |
|
| History | |||
|---|---|---|---|
| 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 | |