[issue33188] dataclass MRO entry resolution for type variable metaclasses: TypeError
Rick Teachey
report at bugs.python.org
Fri Mar 30 16:02:12 EDT 2018
Rick Teachey <ricky at teachey.org> added the comment:
Same error on 3.7.
Probably getting beyond my knowledge here but from the error message, it seems like the answer is simply that:
type('MyChild', (MyParent[int],), {})
...is just the wrong way to make a new `type` when utilizing type variables.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33188>
_______________________________________
More information about the Python-bugs-list
mailing list