Message375808
| Author |
shihai1991 |
| Recipients |
petr.viktorin, shihai1991, vstinner |
| Date |
2020年08月23日.08:48:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1598172498.12.0.869607269568.issue41618@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|