[issue41618] [C API] How many slots of static types should be exposed in PyType_GetSlot()

Petr Viktorin report at bugs.python.org
Tue Sep 8 08:09:30 EDT 2020


Petr Viktorin <encukou at gmail.com> added the comment:

IMO, a slot should be exposed if there is some reason for exposing it.

bpo-41073 talks about tp_dealloc, which is already exposed as Py_tp_dealloc.
Recently, Py_bf_* slots were exposed (but not as part of the limited API), in bpo-40724 which links to the reasons for exposing them.

Which other slots are we missing?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41618>
_______________________________________


More information about the Python-bugs-list mailing list