On Thu, Aug 29, 2019 at 5:00 PM Andrew Barnert <abarnert@yahoo.com> wrote:
On Aug 29, 2019, at 15:28, Guido van Rossum <guido@python.org> wrote:
>
> A wart will be that we can make `int | None` work but we shouldn't make `None | int` work (I don't want to add any new operator overloads to `None`, it should always be an error).

Is there a reason that type.__ror__ wouldn’t handle that, something funky about type, or about builtin types in general, that I’m forgetting?

Handn't thought of `__ror__`. I guess that would work, so never mind on that wart :-)

--
--Guido van Rossum (python.org/~guido)
Pronouns: he/him/his (why is my pronoun here?)