exceptions == errors?

Mark Harrison mh at pixar.com
Fri Apr 11 13:40:44 EDT 2003


To wrap this up, I will be changing my code so that
all server responses are generated with exceptions.
This has the nice side effect that all unexpected
exceptions (which roughly translate to either "should
not occur" conditions or bugs) will generate a nice
internal error response with enough diagnostics to
figure out what went wrong.

Performance is not that much of an issue because the
server actions are extremely heavyweight.

Thanks to all,
Mark




More information about the Python-list mailing list