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 gvanrossum, levkivskyi, rhettinger, serhiy.storchaka, stutzbach, vstinner
Date 2017-03-05.16:30:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488731442.53.0.839492288666.issue29638@psf.upfronthosting.co.za>
In-reply-to
Content
> What if explicitly set __abstractmethods__ = True for these types?

Unfortunately this does not help. I think this is because dash_R_cleanup only clears caches for classes in collections.abc.__all__ and their immediate .__subclasses__(). Making this recursive (i.e. also clearing caches of __subclasses__() of __subclasses__() etc) will probably fix the problem (provided we also add __abstractmethods__ = True). However, this looks a bit too complex for me. I would rather add few more typing._cleanups (anyway this failure only happens with typing ABCs)
History
Date User Action Args
2017-03-05 16:30:42levkivskyisetrecipients: + levkivskyi, gvanrossum, rhettinger, vstinner, stutzbach, serhiy.storchaka
2017-03-05 16:30:42levkivskyisetmessageid: <1488731442.53.0.839492288666.issue29638@psf.upfronthosting.co.za>
2017-03-05 16:30:42levkivskyilinkissue29638 messages
2017-03-05 16:30:42levkivskyicreate