On Fri, Jul 26, 2019 at 2:03 PM Random832 <random...@fastmail.com> wrote:
>
>
> Items also sometimes contains unhashable types, and some methods simply fail 
> in that case. I suggest that this precedent provides a way forward - 
> implement the entire intuitive "contains the same amount of each value" 
> algorithm [more or less Counter(obj1) == Counter(obj2)], and have this fail 
> naturally, throwing e.g. an exception "TypeError: unhashable type: 'list'" if 
> any of the values are unhashable in the same way that trying to perform 
> certain set operations on an items view does.

-1.  What is the motivation of this?
In this case, I don't think "I found missing parts so I want to
implement it for consistency"
is not enough reason to implement it.

I want a real-world application which requires it.
Without a strong use case, I think the discussion is just wasting time.

Regards,
-- 
Inada Naoki  <songofaca...@gmail.com>
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/CZ3K6BZ3AAWABO4456YP6BYFMSXZVHAM/

Reply via email to