While trying to debug an issue, I hit some weird boolean evaluation happening in python. Below is the sample shell result.
In [4]: True or False and False
Out[4]: True
In [5]: False or True and False
Out[5]: False
What exactly is happening here. Shouldn't both evaluate to the same result?