Re:Why type hinting sucks (/r/Python)
by uranusjr on Saturday February 11, 2023 @01:26PM
(#34754821)
> so a separate, "standard" choice in typechecking was made called mypy
This distorts reality a bit. Mypy is one of the flowers; Jukka developed the annotation syntax. It got popular enough to become the de facto standard. I would say the strategy worked.
This worked about as predictably as you would expect. If you grabbed a random package from pypi, suddenly your choice in typechecker might complain about its API if it wasn't made using the same typechecker as you, so a separate, "standard" choice in typechecking was made called mypy. But they couldn't break older code not using mypy so it's strictly optional.