title: Python Interactive Interpreter always returns "Invalid syntax" on Windows
body: <p>I've encountered an extremely confusing problem.  Whatever I type into the Python interpreter returns "Invalid Syntax".  See examples below.  I've tried fooling around with the code page of the prompt I run the interpreter from, but it doesn't seem to help at all.</p>
  
  <p>Furthermore, I haven't been able to find this particular, weird bug elsewhere online.</p>
  
  <p>Any assistance anyone could provide would be lovely.  I've already tried reinstalling Python, but I didn't have any luck - the problem is also there in both 3.13 and 2.7.</p>
  
  <p>Running:
  Python version 3.1.3,
  Windows XP SP3.</p>
  
  <p>Getting:</p>
  
  <pre><code>C:\Program Files\Python31&gt;.\python
  Python 3.1.3 (r313:86834, Nov 27 2010, 18:30:53) [MSC v.1500 32 bit (Intel)] on
  win32
  Type "help", "copyright", "credits" or "license" for more information.  
  &gt;&gt;&gt; 2+2
    File "&lt;stdin&gt;", line 1  
      2+2
         ^     
  SyntaxError: invalid syntax
  
  &gt;&gt;&gt; x = "Oh, fiddlesticks."  
    File "&lt;stdin&gt;", line 1  
      x = "Oh, fiddlesticks."  
                             ^  
  SyntaxError: invalid syntax
  </code></pre>