[Python-Dev] Exception Reorg PEP checked in

Charles Cazabon python at discworld.dyndns.org
Fri Aug 5 22:39:04 CEST 2005

Brett Cannon <bcannon at gmail.com> wrote:
> On 8/4/05, Guido van Rossum <gvanrossum at gmail.com> wrote:
> I just realized that keeping RuntimeError still does not resolve the
> issue that the name kind of sucks for realizing intrinsically that it
> is for quick-and-dirty exceptions (or am I the only one who thinks
> this?).  Should we toss in a subclass called SimpleError?

Much Python code I've looked at uses ValueError for this purpose.  Would
adding a special exception add much utility?

Charles Cazabon                           <python at discworld.dyndns.org>
GPL'ed software available at:               http://pyropus.ca/software/

More information about the Python-Dev mailing list