[issue17162] Py_LIMITED_API needs a PyType_GenericDealloc

Larry Hastings report at bugs.python.org
Fri Jan 31 12:49:32 CET 2014


Larry Hastings added the comment:

I was thinking of a subclass of an existing class, both implemented in C.  collections.Counter does that, but it uses _PyType_LookupId() which is in the limited API.

Would it be possible to achieve equivalent functionality by using _PyType_LookupId()?  If so, maybe instead of the proposed new function PyType_GetSlot, we should make _PyType_Lookup and _PyType_LookupId part of the public API.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17162>
_______________________________________


More information about the Python-bugs-list mailing list