04.12.19 20:18, Guido van Rossum пише:
On Tue, Dec 3, 2019 at 2:10 AM Serhiy Storchaka <[email protected] <mailto:[email protected]>> 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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/GAIB5HSOSHHH27DVB2OQCMQ2U4LBZEJO/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to