Hi Blaine,

A similar idea has been discussed at the typing tracker, see
https://github.com/python/typing/issues/239, but finally we went with the
current syntax. It has several advantages such as:
* It does not require a new syntax, i.e. can be backported to older Python
versions
* Possibility to define generic aliases without too much metaclass magic
* Easier to search and ask questions on stackoverflow etc.

In general, there is quite high bar to modify Python syntax, so that if
there other options are available they will be preferred.

--
Ivan
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to