R. David Murray added the comment:

values cannot be a set, since unlike keys it may contain unhashable objects.  
It would be...really strange and contrary to Python's philosophy to have the 
validity of an operation depend on the specific data values in a structure 
rather than its type.  Python is a strongly typed language.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23339>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to