Guido van Rossum <gu...@python.org> added the comment:
See https://github.com/python/mypy/issues/9773#issuecomment-1000975000. I may have talked myself into agreeing with Serhiy there! It does seem inconsistent that Any is not considered a type but list[int] is: >>> isinstance(list[int], type) True >>> import typing >>> isinstance(typing.Any, type) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45665> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com