3 ms·
> Fortunately [annotations becoming less-and-less optional over time] doesn't seem to be happening. On the other hand, Guido himself recently said "new stdlib
by pansa2 6y ago
> Fortunately [annotations becoming less-and-less optional over time] doesn't seem to be happening.
On the other hand, Guido himself recently said "new stdlib code should be written with annotations inline" [0] whereas the core developers original position was "it will be the choice of the author of new stdlib modules whether and how to use type hints" [1], or even "We will not be putting type annotations anywhere in the stdlib" [2].
[0] https://pyfound.blogspot.com/2020/04/the-path-forward-for-typing-python.html https://pyfound.blogspot.com/2020/04/the-path-forward-for-ty...
[1] https://mail.python.org/archives/list/python-dev@python.org/message/F54JYUKL3MVIN3MS5NE66DGJSW22XFUU/ https://mail.python.org/archives/list/python-dev@python.org/...
[2] https://mail.python.org/archives/list/python-dev@python.org/message/3JXOMQR7KSVZTFWL3QUJMUGBOYB6TETL/ https://mail.python.org/archives/list/python-dev@python.org/...