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 shreyanavigyan
Recipients erlendaasland, petr.viktorin, shreyanavigyan
Date 2021-05-20.12:30:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621513815.59.0.244985012373.issue44099@roundup.psfhosted.org>
In-reply-to
Content
I'm not sure if bpo-42376 is same as this one. Yes the basic idea to provide abstraction and make it easy for the users to add type is same but the approaches suggested are completely different. I propose a new structure member in PyModuleDef be added where we can just specify the address of the types and then in PyModule_Create add those automatically and set the member back to NULL. This will not be a performance improvement just an enhancement to allow adding types more easily. The only thing I'm concerned about is that will it break the Stable ABI? It'll not break C extensions though.
History
Date User Action Args
2021-05-20 12:30:15shreyanavigyansetrecipients: + shreyanavigyan, petr.viktorin, erlendaasland
2021-05-20 12:30:15shreyanavigyansetmessageid: <1621513815.59.0.244985012373.issue44099@roundup.psfhosted.org>
2021-05-20 12:30:15shreyanavigyanlinkissue44099 messages
2021-05-20 12:30:15shreyanavigyancreate