Honey, I Did a Bare Except

1 · Srijan R Shetty · May 25, 2018, 5:40 a.m.
So, what you might ask? In fact you might have seen this blasphemy time and time again: try: # Some code except Exception as e: print(e) Or this variation written by another apostate (me, a few days ago): try: # Some code except: print(e) While we may be blinded in the present, at some point your future-self will want to travel back in time and smack you for your idiocy, like I wanted to, for this mea cupla. The fundamental issue with bare excepts as they’re called in idiomatic p...