<div dir="ltr">Indeed, I noted that (in a not-obvious endnote). Perhaps I shouldn't have mentioned the issue at all as its relatively secondary, but on the other hand while my main points have to do specifically with KeysView, it would be worth bundling all of the inconsistencies in all MappingViews at once, if only for pragmatic reasons.<div><br></div><div>In the prior discussion, guido also seemed open to making values equivalent on dictionary identity equality (#10), which I think makes more sense than current behavior and doesn't suffer performance issues. In any case, I would consider that a secondary concern.<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 6, 2016 at 8:50 AM Random832 <<a href="mailto:random832@fastmail.com">random832@fastmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Apr 6, 2016, at 05:38, Joshua Morton wrote:<br>
>     {}.keys() == {}.keys()  # 7<br>
>     {}.items() == {}.items()  # 8<br>
>     {}.values() == {}.values()  # 9<br>
>     d = {}; d.values() == d.values()  # 10<br>
><br>
> True, True, False, False.<br>
><br>
> Numbers 1, 2, 4, 5 are expected behavior. 3 and 6 are not, and 7-10 is up<br>
> for debate.[1]<br>
<br>
Last time this came up, the conclusion was that making values views<br>
comparable was intractable due to the fact that they're unordered but<br>
the values themselves aren't hashable. Then the discussion got<br>
sidetracked into a discussion of whether the justification for not<br>
having them be hashable (Java does just fine with everything being<br>
hashable and content-based hashes for mutable objects) makes sense in a<br>
"consenting-adults" world.<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofconduct/</a><br>
</blockquote></div></div></div>