On Fri, May 1, 2020 at 12:28 PM Steven D'Aprano <steve@pearwood.info> wrote:
Is "100 more exceptions" hyperbole? Or do you actually mean precisely
one hundred more exceptions?

It is hyperbole.

I should have realized that the way I phrased it was provocative. Maybe people would have responded better if I put more thought into that...
100 is an arbitrary number of course. I gave a few specific examples of UnpackingUnderflowError and MissingArgumentsError, and if I spent 30 minutes on it I could probably come up with 10 more examples. The point isn't the specific example, but to advocate for a general strategy of breaking down exception to as many classes as possible, instead of having this fight over and over again on each exception.

 
This is an idea I could get behind:

https://mail.python.org/archives/list/python-ideas@python.org/message/MXPCNEAWXWJPOHB3DC3QW3S3ZPOFSM4Q/

Alex sent me that, I'm happy to see it :)