Bug report
Bug description:
Types with subclasses such as list[...] or dict[...] are not considered to be instance of type by isinstance() whereas standard types (list, dict, ...) are. This difference is surprising if we consider, for instance, that list is in the __mro__ of list[int]. I suspect that this inconsistency is a bug.
CPython versions tested on:
3.9, 3.10, 3.11, 3.12
Operating systems tested on:
Linux