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 levkivskyi
Recipients Arfrever, gvanrossum, larry, levkivskyi, ncoghlan, ned.deily, python-dev, rhettinger, yan12125
Date 2016-10-09.19:08:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I tried and all tests pass on 3.7a also with prior import of typing.

A larger fix is not _necessary_, but I would _prefer_ to go with the option 4 that I proposed above, i.e.:

Instead of special casing abc and functools in __subclasshook__ in typing via sys._getframe, I would rather add small changes to abc and functools (they should use __origin__ in subclass checks).

In general, I think we should document __origin__, it could be useful at runtime (especially that we prohibit certain things like class checks for parameterized generics).
Date User Action Args
2016-10-09 19:08:51levkivskyisetrecipients: + levkivskyi, gvanrossum, rhettinger, ncoghlan, larry, ned.deily, Arfrever, python-dev, yan12125
2016-10-09 19:08:51levkivskyisetmessageid: <>
2016-10-09 19:08:51levkivskyilinkissue28339 messages
2016-10-09 19:08:51levkivskyicreate