On Fri, Sep 3, 2021 at 5:37 PM Christopher Barker <python...@gmail.com> wrote:
> On Fri, Sep 3, 2021 at 1:13 PM Guido van Rossum <gu...@python.org> wrote: > >> But the text of the error message will explain all you need for debugging >> and testing. >> > > debugging, probably yes. > > But it's a lot easier to check that a particular Exception is raised than > to have to check for the Exception and also parse the error message. > > Honestly, I haven't figured out a use case for this particular example, > but I do appreciate finer grained Exceptions in general. > Hm. More is not always better. (Today's entry for the 20th "Zen of Python" line. :-) -- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/>
_______________________________________________ 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/JXXR2LUZKYM4JZ6ID4FLHGCEPHRUAMIW/ Code of Conduct: http://python.org/psf/codeofconduct/