title: Why is 'True == not False' a SyntaxError?
body: <p>Comparing boolean values with <code>==</code> works in Python. But when I apply the boolean <code>not</code> operator, the result is a syntax error:</p>
  
  <pre><code>Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) 
  [GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; True == True
  True
  &gt;&gt;&gt; False == False
  True
  &gt;&gt;&gt; True is not False
  True
  &gt;&gt;&gt; True == not False
    File "&lt;stdin&gt;", line 1
      True == not False
                ^
  SyntaxError: invalid syntax
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>Why is this a syntax error? I would expect <code>not False</code> to be an expression that returns a boolean value, and <code>True == &lt;x&gt;</code> to be valid syntax wherever <code>&lt;x&gt;</code> is an expression with valid syntax.</p>