Open DetachHead opened 4 weeks ago
Why not both? I imagine the current would be easier for runtime introspection, an aspect that I can only assume mypy overlooked
i dont care about runtime introspection tbh, all of it is a complete mess anyway that only exists as an implementation detail of the type system as a result of them refusing to add new syntax to the language rather than any conscious decision.
mypy added support for them in https://github.com/python/mypy/pull/17457, but it differs from ours:
i like mypy's one better so we should switch to that instead