> > 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/OWERIZIM6NEAEFOAJFXWLU4DOBNPXJBS/ Code of Conduct: http://python.org/psf/codeofconduct/