jgoodknight's comments

jgoodknight | 5 years ago | on: Why does `True == False is False` evaluate to False in Python? (2013)

I find it cool to explore these edge cases, but putting anything like this in a real code base is a terrible idea BECAUSE there are so many different ways to interpret it. Sure a < b <= c has a clear mathematical meaning which works towards python's overall mission of being clear, but in general please good people only have one or two variables in your conditional statements!
page 2