unhandled exceptions without a stack-trace
Just van Rossum
just at xs4all.nl
Thu Apr 18 03:39:57 EDT 2002
In article <mailman.1019111684.8904.python-list at python.org>,
Paul Rodger <paul at paulrodger.com> wrote:
> Is there any way I can:
>
> 1) raise an exception ...
> 2) not catch that exception (I want python to abort) ...
>
> without displaying the "Traceback (most recent call last):" stack trace?
Catch the exception anyway, then do sys.exit() or raise SystemExit.
Just
More information about the Python-list
mailing list