title: Should I use finally after try/except?
body: <p>I have a bunch of functions similar to this structure:</p>
  <pre><code>def df():
      try:
          foo = #do some computation
      except Exception:
          foo = #do other computation
      return foo
  </code></pre>
  <p>I was wondering what would be the difference with this other implementation:</p>
  <pre><code>def df():
      try:
          foo = #do some computation
      except Exception:
          foo = #do other computation
      finally:
          return foo
  </code></pre>
  <p>What should I use in this case? I see it a little bit redundant and also I'm concerned of the time execution, because I have many more functions with this same architecture and I don't know if adding finally would increase the execution time too much or not.</p>