Message372791
> If we extend PyType_GetSlot() to accept non-heaptype, we need find a way to judge the max slot of non-heaptype.
Static types can have some sub-slots structs but not others. A "max slot" will not help for types that have tp_as_mapping but not tp_as_number, for example.
You'll probably need some table like typeslots.inc to record which sub-slots struct each slot belongs to. |
|
| Date |
User |
Action |
Args |
| 2020-07-01 20:42:43 | petr.viktorin | set | recipients:
+ petr.viktorin, vstinner, shihai1991 |
| 2020-07-01 20:42:43 | petr.viktorin | set | messageid: <[email protected]> |
| 2020-07-01 20:42:43 | petr.viktorin | link | issue41073 messages |
| 2020-07-01 20:42:43 | petr.viktorin | create | |
|