Message 405034 - Python tracker (original) (raw)
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".