[issue23339] dict_values should be comparable with a set

R. David Murray report at bugs.python.org
Wed Jan 28 15:42:56 CET 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue23339>
_______________________________________


More information about the Python-bugs-list mailing list