I’ve been toying with the idea of adding a separate stdlib module for annotation introspection (annotationtools?). Maybe that would be worth it?
typing under PEP 649 as accepted would likely have to import inspect, which is a shame; currently it goes out of its way to avoid importing inspect.