title: Python stdin readline over 4096 bytes?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3670323/setting-smaller-buffer-size-for-sys-stdin">Setting smaller buffer size for sys.stdin?</a>  </p>
  </blockquote>
  
  
  
  <p>I have an input line that is longer than 4096 bytes coming into stdin in Python.  The code simply says:</p>
  
  <pre><code>line = sys.stdin.readline()
  </code></pre>
  
  <p>which is truncating line at 4096 bytes.  Anyone know a solution?</p>