[issue36881] isinstance raises TypeError for metaclass with metaclass=ABCMeta

Ivan Levkivskyi report at bugs.python.org
Sun May 19 17:08:36 EDT 2019


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

I think this is related to how `__subclasscheck__` is implemented in `ABCMeta`. I just checked this also happens in Python 3.6 (i.e. it is not something specific to the C version introduced in Python 3.7).

----------

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


More information about the Python-bugs-list mailing list