Rick Teachey <ri...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue33188> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com