diff Python/errors.c @ 17164:b44e77a12978 legacy-trunk

Add sys.excepthook. Update docstring and library reference section on 'sys' module. New API PyErr_Display, just for displaying errors, called by excepthook. Uncaught exceptions now call sys.excepthook; if that fails, we fall back to calling PyErr_Display directly. Also comes with sys.__excepthook__ and sys.__displayhook__.
author Ka-Ping Yee <ping@zesty.ca>
date Fri, 23 Mar 2001 02:46:52 +0000
parents 86fd723f2928
children 3fc06c1149a4 6a2e2548e6cf
line wrap: on
line diff