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

R. David Murray report at bugs.python.org
Sun May 29 21:51:02 EDT 2016


R. David Murray added the comment:

When I hit this recently I assumed that that error message meant I'd screwed up the metaclass definition.  But if there's a way to improve the error message that would be great.

I'll add this to the list of bugs I'm making for the sprints, perhaps one of the sprinters can convince a knowlegable core dev to look at it and render an opinion :)

----------
nosy: +r.david.murray
stage: resolved -> 

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


More information about the Python-bugs-list mailing list