title: python exit infinite while loop with KeyboardInterrupt exception
body: <p>My while loop does not exit when Ctrl+C is pressed.  It seemingly ignores my KeyboardInterrupt exception.  The loop portion looks like this:</p>
  
  <pre><code>while True:
    try:
      if subprocess_cnt &lt;= max_subprocess:
        try:
          notifier.process_events()
          if notifier.check_events():
            notifier.read_events()
        except KeyboardInterrupt:
          notifier.stop()
          break
      else:
        pass
    except (KeyboardInterrupt, SystemExit):
      print '\nkeyboardinterrupt found!'
      print '\n...Program Stopped Manually!'
      raise
  </code></pre>
  
  <p>Again, I'm not sure what the problem is but my terminal never even prints the two print alerts I have in my exception.  Can someone help me figure this problem out?</p>