PEP 727: Documentation Metadata in Typing

I feel that you have this point backward. Putting this feature in the stdlib should only be done if there is already consensus. It doesn’t bring consensus, it acknowledges it.

In this case, I don’t think there’s consensus in the overall Python developer community that this is the best way to document function parameters. Apart from anything else, it doesn’t offer a usable approach for developers who don’t want to add type annotations in the first place…

11 Likes