[Python-Dev] Re: Comparing dict.values()

2019年7月28日 16:57:25 -0700

On Sun, Jul 28, 2019 at 10:18:56PM +0200, Antoine Pitrou wrote:
> On 2019年7月26日 20:28:05 +1000
> Steven D'Aprano <[email protected]> wrote:
> > So there are no conceptual problems in defining equality for value 
> > views. Putting aside efficiency, this is easy to solve.
> 
> Right. It's just waiting for someone's PR. However, that doesn't mean
> that the current behaviour is senseless. It's just less desirable than
> one might like.
Acknowledged: the current behaviour seems to be inherited from the 
default behaviour of equality used by object, which is (I think) the 
only sensible default.
-- 
Steven
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/U3V5YDVFDSSNFRYPQCH6VOVOSHRAXKL4/

Reply via email to