Ivan Levkivskyi added the comment:

> 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)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to