Author Greg Price
Recipients Greg Price, benjamin.peterson, ezio.melotti, lemburg, miss-islington, vstinner
Date 2019-08-13.17:46:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565718407.22.0.150447364918.issue37760@roundup.psfhosted.org>
In-reply-to
Content
> BTW: Since when do we use type annotations in Python's stdlib ?

Hmm, interesting question!

At a quick grep, it's in a handful of places in the stdlib: asyncio, functools, importlib. The earliest it appeared was in 3.7.0a4.

It's in more places in the test suite, which I think is a closer parallel to this maintainer script in Tools/.

The typing module itself is in the stdlib, so I don't see any obstacle to using it more widely. I imagine the main reason it doesn't appear more widely already is simply that it's new, and most of the stdlib is quite stable.
History
Date User Action Args
2019-08-13 17:46:47Greg Pricesetrecipients: + Greg Price, lemburg, vstinner, benjamin.peterson, ezio.melotti, miss-islington
2019-08-13 17:46:47Greg Pricesetmessageid: <1565718407.22.0.150447364918.issue37760@roundup.psfhosted.org>
2019-08-13 17:46:47Greg Pricelinkissue37760 messages
2019-08-13 17:46:47Greg Pricecreate