Le 13/04/2021 à 04:24, Guido van Rossum a écrit :
I've been thinking about this a bit, and I think that the way forward is for Python to ignore the text of annotations ("relaxed annotation syntax"), not to try and make it available as an expression.
Then, what's wrong with quoting? It's just 2 characters, and prevent the user (or their IDE) from trying to parse them as Python syntax.
As a comparison: docstrings do get quoting, even though they also have special semantics in the language.