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, shihai1991, vstinner
Date 2020-10-20.09:26:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603185992.77.0.635082586279.issue41618@roundup.psfhosted.org>
In-reply-to
Content
Also: PyType_GetSlot should return a function pointer, not data.

For some slots (Py_tp_doc, Py_tp_methods, Py_tp_members, Py_tp_getset) that ship has sailed, but for new ones, we should honor the distinction between data and function pointers. The C standard says they're distinct, so it might bite us in the future (e.g. compiling to WebAssembly).
History
Date User Action Args
2020-10-20 09:26:32petr.viktorinsetrecipients: + petr.viktorin, vstinner, shihai1991
2020-10-20 09:26:32petr.viktorinsetmessageid: <1603185992.77.0.635082586279.issue41618@roundup.psfhosted.org>
2020-10-20 09:26:32petr.viktorinlinkissue41618 messages
2020-10-20 09:26:32petr.viktorincreate