Message316648
I actually intended to say that annotations continue to be usable for
non-typing purposes (beyond ClassVar/InitVar). It may be deprecated but the
usage still exists. This is a glossary, not a manifesto.
I'm fine with adding that the main use of annotations is for type hints of
course. And I was mostly reacting to the fact that the text that was just
committed seemed to imply that 'annotation' refers to something stored at
runtime in __annotations__ while 'type hint' was a syntactic form (and this
is borne out by the omission of *local* type hints from the section on
annotations). |
|
Date |
User |
Action |
Args |
2018-05-15 12:20:58 | gvanrossum | set | recipients:
+ gvanrossum, r.david.murray, docs@python, lukasz.langa, matrixise, levkivskyi, cheryl.sabella, adelfino |
2018-05-15 12:20:58 | gvanrossum | link | issue32769 messages |
2018-05-15 12:20:58 | gvanrossum | create | |
|