Re:Why does `True == False is False` evaluate to False in Py...
by nerdponx on Friday May 01, 2020 @11:26PM
(#23048886)
I agree, "is" should probably be excluded from comparison chaining.
[ Parent
| on HN ]
Re:Why does `True == False is False` evaluate to False in Py...
by thomasahle on Saturday May 02, 2020 @08:25AM
(#23051336)
I guess if you say "x == y == z" you may also say "x is y is z". But certainly the mixing of the two chaining types is confusing.