Message375808
In order to resolve bpo41073, we want to extend `PyType_GetSlot()` to accept static types. But there have another question we should be considered: How many slots should be exposed in `PyType_GetSlot()`.
petr's opinion from PR-21931:I would not want to expose the Py_tp_as_* slots at all; their contents are covered in other slots that should be used instead. And slots like Py_tp_version_tag are specific to CPython; I don't think they should be exposed in the general C API. |
|
Date |
User |
Action |
Args |
2020-08-23 08:48:18 | shihai1991 | set | recipients:
+ shihai1991, vstinner, petr.viktorin |
2020-08-23 08:48:18 | shihai1991 | set | messageid: <1598172498.12.0.869607269568.issue41618@roundup.psfhosted.org> |
2020-08-23 08:48:18 | shihai1991 | link | issue41618 messages |
2020-08-23 08:48:17 | shihai1991 | create | |
|