title: Python list of booleans comparison gives strange results
body: <p>I try:</p>
  
  <pre><code>[True,True,False] and [True,True,True]
  </code></pre>
  
  <p>and get
      [True, True True]</p>
  
  <p>but</p>
  
  <pre><code>[True,True,True] and [True,True,False]
  </code></pre>
  
  <p>gives</p>
  
  <pre><code>[True,True,False]
  </code></pre>
  
  <p>Not too sure why it's giving those strange results, even after taking a look at some other python boolean comparison questions. Integer does the same (replace True -> 1 and False ->0 above and the results are the same). What am I missing? I obviously want</p>
  
  <pre><code>[True,True,False] and [True,True,True]
  </code></pre>
  
  <p>to evaluate to</p>
  
  <pre><code>[True,True,False]
  </code></pre>