July 2, 2017
7:14 p.m.
On Sun, Jul 2, 2017 at 4:54 AM, Steven D'Aprano <steve@pearwood.info> wrote:
I think that the current status is that the MyPy folks, including Guido, consider that it *is* reasonable to ask these questions for the purpose of introspection, but issubclass and isinstance are not the way to do it.
That may have once been the viewpoint of the developers of typing/MyPy, though it seems to have changed. The current view is that this should be implemented in a third party library. Further discussion is here <https://github.com/ilevkivskyi/typing_inspect/issues/2>. - Lucas