I think "parameter Specification Variables"[0] come pretty close to solving that no? I'd love to hear your take if you've used them before.
> Type semantics aren't defined so there are multiple competing interpretations
> The most popular type checker - MyPy - is full of bugs and deliberate unsoundness.
100% agreed. I hope Pyright "wins" as the dominant type checker, because like you said, it's MUCH better in every aspect.
> A depressingly huge part of the Python community doesn't get static typing so a ton of your dependencies won't have types.
100%. I have so many half hearted attempts at typing my dependencies![1]
> I definitely wouldn't choose Python if I had a choice.
At this point, I'd have to agree, except of course for data science/ML things.
[0] https://peps.python.org/pep-0612/
[1] https://github.com/davidatbu?tab=repositories&q=stubs&type=&...