News for hackers. Stuff that matters.
Re:Handling exceptions in Python like a pro by tmarice on Thursday May 20, 2021 @03:56AM (#27218569)
https://docs.python.org/3/library/exceptions.html#KeyboardIn...

`KeyboardInterrupt` inherits from `BaseException` instead of `Exception` exactly in order to avoid this situation.

Re:Handling exceptions in Python like a pro by mtlynch on Thursday May 20, 2021 @04:10AM (#27218655)
Oh, thanks for the correction. I remember running into this myself, but I must have done:

  except: