This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ricyteach
Recipients Ricyteach, eric.smith, levkivskyi
Date 2018-03-30.20:02:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522440132.34.0.467229070634.issue33188@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-03-30 20:02:12Ricyteachsetrecipients: + Ricyteach, eric.smith, levkivskyi
2018-03-30 20:02:12Ricyteachsetmessageid: <1522440132.34.0.467229070634.issue33188@psf.upfronthosting.co.za>
2018-03-30 20:02:12Ricyteachlinkissue33188 messages
2018-03-30 20:02:12Ricyteachcreate