[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
Wed Jan 18 06:19:17 EST 2017


Ivan Levkivskyi added the comment:

The problem is the only good way to fix this I see now is patching two lines in functools and abc using the public ``typing_inspect`` API proposed in http://bugs.python.org/issue29262 (I added it as a dependency). The latter could take some time, so that I am not 100% sure about 3.6.1.

----------
dependencies: +Provide a way to check for *real* typing.Union instances
type:  -> behavior

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


More information about the Python-bugs-list mailing list