> On Apr 5, 2021, at 4:43 AM, Shreyan Avigyan <[email protected]> wrote: > > Yes you are right. But isn't informing people about a change the work of > PEP? I mean this is kind of a major change because we're trying to change the > error message and/or the type. If the type is not changed then no PEP is > required but if the type is changed then there comes a maybe. What should be > the perfect solution?
There’s no need for a new exception type. What code would catch this new exception? Just update the text of the existing exception, and update the documentation if need be. There’s no need for a PEP. Many, many changes are made without PEPs. Just open an issue on bugs.python.org and create a PR. Eric _______________________________________________ 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/VNI6QEUXWKOAZ6M75ZZIW7IFUXJ7QF5Y/ Code of Conduct: http://python.org/psf/codeofconduct/
