stdout and stderr anomalies
<p>from the interactive prompt:</p>

<pre><code>&gt;&gt;&gt; import sys
&gt;&gt;&gt; sys.stdout.write('is the')
is the6
</code></pre>

<p>what is '6' doing there?</p>

<p>another example:</p>

<pre><code>&gt;&gt;&gt; for i in range(3):
...     sys.stderr.write('new black')
... 
9
9
9
new blacknew blacknew black
</code></pre>

<p>where are the numbers coming from?</p>
