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

ppperry report at bugs.python.org
Sun May 29 19:23:40 EDT 2016


ppperry added the comment:

This issue only happens when the type in question has a custom metaclass:

>>> class meta(type):pass
>>> class X(type,metaclass=meta):pass
>>> X(X)
[Same unhelpful TypeError]

----------
resolution: works for me -> 
status: closed -> open
title: Unhelpful error message when one calls a subclass of type -> Unhelpful error message when one calls a subclass of type with a custom metaclass

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


More information about the Python-bugs-list mailing list