|9 points by nedf in: 8 months, 1 week ago | 1 comment|
|3 points by intrepidhero 8 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!