Message349592
> 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. |
|
Date |
User |
Action |
Args |
2019-08-13 17:46:47 | Greg Price | set | recipients:
+ Greg Price, lemburg, vstinner, benjamin.peterson, ezio.melotti, miss-islington |
2019-08-13 17:46:47 | Greg Price | set | messageid: <1565718407.22.0.150447364918.issue37760@roundup.psfhosted.org> |
2019-08-13 17:46:47 | Greg Price | link | issue37760 messages |
2019-08-13 17:46:47 | Greg Price | create | |
|