Martin Rueckl <eni...@nbubu.de> added the comment:
Just my two cents as a new contributor but long time user: - isinstance(list[int], type) returning False seems incredibly un-intuitive to me. I always see generics (e.g. list without type parameter) as higher kinded types, where passing a type argument via [] turns the hkt into a concrete type. - Backporting to 3.9 and 3.10 should be no issue - I am not deep enough in pythons type system to judge whether my PR is consistent/good. I really just tried out what works and "feels consistent". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45438> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com