> > It depends on context whether it makes sense to define a custom exception, > and I agree that I frequently should define a custom exception. In that > case though, it would still be nice to have an appropriate generic > exception for that to inherit from, just as I would inherit from > `ValueError` for a special case of a value error. >
I agree. But I don't see why that more specific root needs to live in the standard library?
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/OWERIZIM6NEAEFOAJFXWLU4DOBNPXJBS/ Code of Conduct: http://python.org/psf/codeofconduct/
