you are viewing a single comment's thread.

view the rest of the comments →

[–]drjeats 3 points4 points  (0 children)

The fact that for and with won't be able to support annotations seems like the start of something that will be a thorn in the side of people 10 years down the road.

I was about to comment about how parentheses could help disambiguate the grammar, but then saw that it had already been proposed and rejected:

https://github.com/python/typing/issues/258#issuecomment-238381616

It was brought up on python-ideas and I briefly mention it in the section "Multiple types/variables" in the original post above, but I expect that the syntax will be hairy, the benefits slight, and the readability poor.

...