[issue27157] Unhelpful error message when one calls a subclass of type with a custom metaclass

Guido van Rossum report at bugs.python.org
Mon May 30 01:52:10 EDT 2016


Guido van Rossum added the comment:

I don't recall writing that any more, but that fix looks right. (Though why write `metatype == &PyType_Type` rather than `PyType_CheckExact(metatype)`?)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27157>
_______________________________________


More information about the Python-bugs-list mailing list