[issue42035] [C API] PyType_GetSlot cannot get tp_name

Petr Viktorin report at bugs.python.org
Thu Jul 29 03:56:49 EDT 2021


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

> Can we create PyType_GetDataSlot function to return the data pointer?

No, see the borrowed pointer issues above.

> I will create another PR after PR-23903 merged.

Great, thank you!

----------

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


More information about the Python-bugs-list mailing list