[issue42035] [C API] PyType_GetSlot cannot get tp_name
hai shi
report at bugs.python.org
Mon Feb 1 11:06:13 EST 2021
hai shi <shihai1991 at 126.com> added the comment:
I found `type.__name__` has the implementation details in https://github.com/python/cpython/blob/master/Objects/typeobject.c#L486.
IMHO, keep the consistency in `PyType_GetName()` is OK.
Victor, Petr. Do you think it make senses?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42035>
_______________________________________
More information about the Python-bugs-list
mailing list