[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

Xiang Zhang report at bugs.python.org
Tue May 3 22:34:20 EDT 2016


Xiang Zhang added the comment:

I agree with you josh. Actually that's what I want to know, consistency. But I don't mention it in my post, so Guido only gives what to do in this case. In this thread, it means does Python code have to keep the invariant mentioned in msg75735?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26915>
_______________________________________


More information about the Python-bugs-list mailing list