Inada Naoki <songofaca...@gmail.com> added the comment:
> Well, surely there are reasonable semantics :), because dict.values == > dict.values was comparable before we had view objects. Because it was list. Now values view is not sequence-like or set-like. >>> {"a": "foo", "b": "bar"}.values() == {"a": "bar", "b": "foo"}.value() True if set-like. False if sequence-like. If you want Python 2 behavior, you should convert it to list. Then you can use "sequence" semantics. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue12445> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com