[issue45697] PyType_IsSubtype is doing excessive work in the common case
Oleg Iarygin
report at bugs.python.org
Wed Nov 3 04:15:33 EDT 2021
Oleg Iarygin <oleg at arhadthedev.net> added the comment:
Dennis, can PyFrozenSet_Check and _PyObject_TypeCheck get rid of Py_IS_TYPE invocation then, so PyType_IsSubtype becomes the only source of truth here?
----------
nosy: +arhadthedev
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45697>
_______________________________________
More information about the Python-bugs-list
mailing list