[issue32055] Reconsider comparison chaining for containment tests

Nick Coghlan report at bugs.python.org
Fri Nov 17 04:33:55 EST 2017


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Just a note on why I find "a in b < c" unintuitive, even for sets: my brain initially wanted to read it as equivalent to "a in b & c".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32055>
_______________________________________


More information about the Python-bugs-list mailing list