Message404311
For cases where you aren't adding new C-level state, especially if don't have the superclass' struct available, it would be good to allow inheriting basicsize/itemsize from the superclass.
(SuperType->tp_size is not easily usable for the same reason PyType_FromSpecWithBases exists: on MSVC, if SuperType comes from a different DLL, it is not a constant expression.) |
|
Date |
User |
Action |
Args |
2021-10-19 15:43:58 | petr.viktorin | set | recipients:
+ petr.viktorin |
2021-10-19 15:43:58 | petr.viktorin | set | messageid: <1634658238.19.0.273279060126.issue45525@roundup.psfhosted.org> |
2021-10-19 15:43:58 | petr.viktorin | link | issue45525 messages |
2021-10-19 15:43:58 | petr.viktorin | create | |
|