This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petr.viktorin
Recipients petr.viktorin
Date 2021-10-19.15:43:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634658238.19.0.273279060126.issue45525@roundup.psfhosted.org>
In-reply-to
Content
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.)
History
Date User Action Args
2021-10-19 15:43:58petr.viktorinsetrecipients: + petr.viktorin
2021-10-19 15:43:58petr.viktorinsetmessageid: <1634658238.19.0.273279060126.issue45525@roundup.psfhosted.org>
2021-10-19 15:43:58petr.viktorinlinkissue45525 messages
2021-10-19 15:43:58petr.viktorincreate