12.10.21 00:03, Guido van Rossum пише:
> But if I see
>
> def Comparison(a: T, b: T) -> Literal[-1, 0, 1]:
> ...
>
> my first thought is that it's a comparison function that someone hasn't
> finished writing yet, not a function type -- since if it did have at
> least one line of code
Rob Cliffe is having problems posting to the Python-Dev list, so he
posted an alternative suggestion to the Python-Ideas list:
https://mail.python.org/archives/list/python-id...@python.org/message/6KQUQBKFGJSGDNXFZBSM5OXD2ISLIQTT/
Rob's idea is to use "except for ..." with exception groups, inst