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, shreyanavigyan
Date 2021-05-19.15:17:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621437449.58.0.25375113964.issue44099@roundup.psfhosted.org>
In-reply-to
Content
First off, note that you can use PyModule_AddType rather than PyModule_AddObject to avoid repeating the name.

Adding this *correctly* will be somewhat involved: slots take function pointers, not data pointers which are incompatible according to standard C. The changes will also need to keep backwards compatibility.
History
Date User Action Args
2021-05-19 15:17:29petr.viktorinsetrecipients: + petr.viktorin, shreyanavigyan
2021-05-19 15:17:29petr.viktorinsetmessageid: <1621437449.58.0.25375113964.issue44099@roundup.psfhosted.org>
2021-05-19 15:17:29petr.viktorinlinkissue44099 messages
2021-05-19 15:17:29petr.viktorincreate