[issue42035] [C API] PyType_GetSlot cannot get tp_name

STINNER Victor report at bugs.python.org
Tue Jan 19 12:36:42 EST 2021


STINNER Victor <vstinner at python.org> added the comment:

A type has different names:

* short name: "name"
* qualified name: "module.name"

Which one should be returned by PyType_GetName()? Is there a warranty that it's always short or always qualified?

----------

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


More information about the Python-bugs-list mailing list