Now that TypeForm is in 3.15+ and typing_extensions, would it be reasonable to start using it in the __class_getitem__ stubs for generic classes? That way, we could reject constructs like list[3] without triggering false positives on things that are valid type expressions but not types.
Now that
TypeFormis in 3.15+ andtyping_extensions, would it be reasonable to start using it in the__class_getitem__stubs for generic classes? That way, we could reject constructs likelist[3]without triggering false positives on things that are valid type expressions but not types.