29 Aug
2019
29 Aug
'19
5:03 p.m.
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?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...>