Speaker

Mario Corchero

Material

video

Note

  • Logging exception
    • logging.exception("")
    • logging.info("", exc_info=True)
  • Exception techniques
    • Reraise
    • Chaining exception
      • raise Exception() from e
    • Eliding previous exception
      • raise Exception() from None
    • False friends: NotImpelmented
      • Use raise NotImplementedError
  • Exception attributes
    • args
    • __traceback__
  • New magic in 3.8
    • sys.unraisablehook
    • threading.excepthook

Share on: TwitterFacebookEmail


Published

Category

EuroPython 2019

Tags

Contact