[Python-ideas] Fwd: Why do equality tests between OrderedDict keys/values views behave not as expected?

Guido van Rossum guido at python.org
Fri Dec 18 11:37:09 EST 2015


ValuesView is not a set because there may be duplicates. But the identity
thing feels odd. (Even though I designed this myself.) Maybe because values
may not be comparable?

--Guido (mobile)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20151218/248e9fa8/attachment.html>


More information about the Python-ideas mailing list