A problem with `(int, str)` that I believe hasn't been brought up yet is that 
it interferes with the existing use of subscription syntax, particularly by 
`Tuple`.

`Tuple[int, str]` is equivalent to `Tuple[(int, str)]` but not to 
`Tuple[Union[int, str]]`, because `__getitem__` receives a single tuple instead 
of multiple arguments.

I think all other subscriptable types could resolve the ambiguity in principle 
because they aren't variadic.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/J3VM5PEV6BX5DH36QFUJFOWNM5QPKNKU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to