id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 16997 some contrib.session tests fail in Python3 adsworth adsworth "The attached patch fixes contrib.sessions so that all tests pass. I've had to modify 2 tests. In Python 3 `dict.values` returns a `dict_values` view instead of a `list`. See http://docs.python.org/whatsnew/2.7.html#pep-3106-dictionary-views . So comparing dict.values() with [] will always fail. Wrapping dict.values() in a list call works as expected and has no side effects in py2.x " Bug closed Python 3 1.3 Normal fixed adsworth Accepted 1 0 0 0 0 0