04.12.19 20:18, Guido van Rossum пише:
On Tue, Dec 3, 2019 at 2:10 AM Serhiy Storchaka <storch...@gmail.com <mailto:storch...@gmail.com>> wrote:

    And the same question for |. Should `{} | Mapping()` and `{} | []` work?


Ditto -- {} | Mapping() should work, but {} | [] should not.

set() | Set() falls back to Set.__ror__. collection.abc.Set.__ror__ is defined, but you suggested to not define it for collection.abc.Mapping.
_______________________________________________
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/GAIB5HSOSHHH27DVB2OQCMQ2U4LBZEJO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to