title: Nesting "for" loop within a "try" operator
body: <p>Folks,</p>
  
  <p>I've resigned myself to working around this problem, but I wanted to check if Python is really acting as expected.</p>
  
  <p>In the example, "sample.txt" is any multi-line text file that is read and parsed.</p>
  
  <pre><code>try:
      file=open('sample.txt','r')
      for line in file:
            (some action here)
  except:
      print "Couldn't open file"
  file.close()
  </code></pre>
  
  <p>The actions I observe are that "sample.txt" is opened and the first line handled, the logic then falls through to the "except" clause.</p>
  
  <p>WAD or is this a bug?</p>