On Mon, Oct 21, 2019 at 02:02:07AM +0100, MRAB wrote:

> In the case of Counter, it supports both + and |.
> 
> The proposed operator will replace where there are matching keys. Which 
> operator of Counter does that? Neither.

That's okay. That's what subclasses are for: to support specialised 
behaviour.



-- 
Steven
_______________________________________________
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/PIF7DXNUVPMBL5CKXSRELDVUBYUPHPDC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to