title: sys.stdin.readlines() hangs Python script
body: <p>Everytime I'm executing my Python script, it appears to hang on this line:</p>
  
  <pre><code>lines = sys.stdin.readlines()
  </code></pre>
  
  <p>What should I do to fix/avoid this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here's what I'm doing with <code>lines</code>:</p>
  
  <pre><code>lines = sys.stdin.readlines()
  updates = [line.split() for line in lines]
  </code></pre>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>I'm running this script from a git hook so is there anyway around the EOF?</p>