[issue45438] inspect not capturing type annotations created by __class_getitem__
Ivan Levkivskyi
report at bugs.python.org
Mon Oct 25 10:59:49 EDT 2021
Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:
> Was it mistake to make isinstance(list[int], type) returning True?
What was the motivation for this? At first glance returning True looks wrong.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45438>
_______________________________________
More information about the Python-bugs-list
mailing list