[issue28339] "TypeError: Parameterized generics cannot be used with class or instance checks" in test_functools after importing typing module

Ivan Levkivskyi report at bugs.python.org
Sun Feb 18 07:58:26 EST 2018


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

FWIW, this is fixed in 3.7 by PEP 560. I don't think we will be able to get rid of `sys._getframe` workaround on 3.6, so I propose to just close this.

----------
dependencies:  -Provide a way to check for *real* typing.Union instances
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28339>
_______________________________________


More information about the Python-bugs-list mailing list