[New-bugs-announce] [issue42035] PyType_GetSlot cannot get tp_name
fancitron
report at bugs.python.org
Wed Oct 14 09:52:05 EDT 2020
New submission from fancitron <fancitron at gmail.com>:
In the Limited API (where PyTypeObject is opaque), there is no way to retrieve the tp_name of a type object. The PyType_GetSlot() function doesn’t define a slot ID Py_tp_name. This makes it inconvenient to port existing code to the Limited API. Is this intentional? How to work around this?
----------
components: C API
messages: 378616
nosy: fancitron
priority: normal
severity: normal
status: open
title: PyType_GetSlot cannot get tp_name
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42035>
_______________________________________
More information about the New-bugs-announce
mailing list