Media Summary: today I talk about the best practices I try to stick to when working with `try` / `except` in today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ... the dreaded "E722 do not use bare 'except'"! today we
Python Exception Catching And Isinstance Gotcha Beginner Intermediate Anthony Explains 247 - Detailed Analysis & Overview
today I talk about the best practices I try to stick to when working with `try` / `except` in today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ... the dreaded "E722 do not use bare 'except'"! today we today I show off `contextlib.suppress` -- a neat helper for ignoring today I talk about how to properly type a function which catches today I walk through why I banned `assertRaises` in tests at work as well as an alternative that doesn't have this pitfall ...
Resources & Further Learning - Practice notebook →