TIL 2020-08-06

  1. Python’s raise statement has a from clause - This preserves full tracebacks when re-raising exceptions, providing better debugging information.

  2. The Python raise statement documentation - Official documentation covering all forms of the raise statement including exception chaining.