15 Jan
2021
15 Jan
'21
11:29 p.m.
On 16/01/21 7:56 am, Larry Hastings wrote:
As mentioned previously in this thread, typing.get_type_hints() is opinionated in ways that users of annotations may not want.
This brings us back to my idea of introducing a new annotations() function to hide the details. It wouldn't be the same as get_type_hints(), since it wouldn't make any assumptions about what the annotations mean. -- Greg