[Python-Dev] Add PyType_GetSlot

"Martin v. Löwis" martin at v.loewis.de
Sat Feb 1 16:54:32 CET 2014

Am 29.01.14 03:46, schrieb Larry Hastings:

> So this would be a new public ABI function?


> Would it be 100% new code, or would you need to refactor code internally
> to achieve it?

See the patch - it's new code.

> Also, just curious: what is typeslots.h used for?  I tried searching for
> a couple of those macros, and their only appearance in trunk was their
> definition.

It's meant for use by extension modules. See xxlimited.c:Xxo_Type_slots
for an application.


More information about the Python-Dev mailing list