Raymond Hettinger <[email protected]> added the comment:
> is it possible to make dict give consistent result?
That is unlikely (there isn't much need, it would introduce a cross-type
dependency, it would be awkward dicts which use keys in many more ways than
sets do).
For the time being, a user should explicitly convert to a frozenset:
frozenset(s) in d
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40853>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com