Petr Viktorin <encu...@gmail.com> added the comment:
The slots are originally intended for defining types (PyType_FromSpec); PyType_GetSlot is not as useful as it could be. tp_name can be exposed, but it needs to also be handled properly PyType_FromSpec -- e.g. raise an error. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42035> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com