[Matrix-SIG] Turning off the traceback on a raise

Charlie Crabb crabb2@llnl.gov
Wed, 22 Dec 1999 16:28:54 -0800

    Is it possible to turn off the stack trace in python
    after raising an exception?
    e.g disable output from the first two lines:

  Traceback (innermost last):
  File "<stdin>", line 4, in ?
KeyError: nada

Charlie Crabb
Computer Scientist, LCPD/A/X Divisions
Lawrence Livermore National Laboratory, L-38
crabb2@llnl.gov 925-424-3265