title: Python how to exclude exceptions from "catch all"
body: <p>Lets say I have this:</p>
  
  <pre><code>try:
      result = call_external_service()
      if not result == expected:
          raise MyException()
  except MyException as ex:
      # bubble up
      raise ex
  except Exception:
      # unexpected exceptions from calling external service
      do_some_logging()
  </code></pre>
  
  <p>Due to my limited python knowledge, I cannot think of an elegant way to bubble up the <code>MyException</code> exception, I was hoping I can do something like:</p>
  
  <pre><code>try:
      result = call_external_service()
      if not result == expected:
          raise MyException()
  except Exception, exclude(MyException):
      # unexpected exceptions from calling external service
      do_some_logging()
  </code></pre>