Strange redirection effect with raw_input
<p>According to the <a href="http://docs.python.org/2/library/functions.html#raw_input" rel="nofollow">manual</a>, <code>raw_input</code> writes to stdout. I have this little program (<code>test_raw_input.py</code>):</p>

<pre><code># Test if rawinput writes to stdout or stderr
raw_input('This is my prompt &gt; ')
</code></pre>

<p>And no matter how I run this:</p>

<pre><code>$ python test_raw_input.py &gt; xxx
</code></pre>

<p>or</p>

<pre><code>$ python test_raw_input.py 2&gt; xxx
</code></pre>

<p>The prompt always ends up in <code>xxx</code>. Why is this happening?</p>
