3 points by intrepidhero 1 year, 5 months ago | discuss | on: Python is Safer typed than you think
This was a great deep dive into error handling in python. Specifically the author was trying to write functions that must return either a valid result or an error value and still get the most benefit from mypy type analysis. I've run across this problem many times and never come up a solution as elegant as the author's final technique. Well done!