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

Emanuel Barry report at bugs.python.org
Sun May 29 18:55:05 EDT 2016


Emanuel Barry added the comment:

Works for me:

>>> class X(type): pass
...
>>> X(X)
<class 'type'>

----------
nosy: +ebarry
resolution:  -> works for me
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list