On Aug 29, 2019, at 12:54, Chris Angelico <ros...@gmail.com> wrote:

>> Either one seems a lot better than breaking backward compatibility by adding 
>> new operator methods to the type type.
>> 
> 
> How does that break backward compat?

It doesn’t make Python backward incompatible; it does mean that if typing or 
mypy relies on it, it becomes incompatible with earlier versions of Python (or 
has to fork different code for 3.8+ that relies on type.__or__ being available 
and 3.7- that doesn’t have whatever functionality relies on that).
_______________________________________________
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/TQ6HMT6X5XPKH6BCY4BLQYJJGFITZ43B/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to