title: Python 'except' fall-through
body: <p>I was wondering if you could re-raise a (specific) caught exception and have it caught by a later (general) except in the same try-except. As an example, I want to do something with a specific IOError, but if its not the expected IOError then the exception should be handled like any other error. What I initially tried:</p>
  
  <pre><code>try:
      raise IOError()
  except IOError as ioerr:
      if ioerr.errno == errno.ENOENT:
          # do something with the expected err
      else:
          # continue with the try-except - should be handled like any other error
          raise
  except Exception as ex:
      # general error handling code
  </code></pre>
  
  <p>However, this doesn't work: the raise re-raises the exception outside the context of the try-except.
  What would be the pythonic way of writing this to get the desired exception 'fall-through' behaviour?</p>
  
  <p>(I'm aware there was a proposed 'conditional except' that wasn't implemented, which could've solved this)</p>