On Fri, 2 Sept 2022 at 23:08, Stephen J. Turnbull
<stephenjturnb...@gmail.com> wrote:
> Bottom line: let's focus the argument on (1) where in the Python
> exception hierarchy the new builtin exception would go, and (2) per
> Paul Moore, if it could be used in the interpreter (I will add, or in
> a variety of stdlib modules), and where.

And if not (2), then (3) whether there's actually value in being able
to catch invalid state exceptions from different sources, because a
core exception that isn't used by the stdlib could potentially have
value for that, but otherwise it's better for each module to make its
own.

ChrisA
_______________________________________________
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/WXGVBR673SWNLQOVSDQN5OCQ22DVWHWG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to