Media Summary: today I talk about the best practices I try to stick to when working with `try` / `except` in today I walk through why I banned `assertRaises` in tests at work as well as an alternative that doesn't have this pitfall ... today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ...
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 walk through why I banned `assertRaises` in tests at work as well as an alternative that doesn't have this pitfall ... today I go over the easily confusable NotImplemented and NotImplementedError -- as well as covering functools.total_ordering ... today I talk about the concept of immutability and all the things that are immutable in 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