Mercurial > cpython-lru_cache-weakref
diff Python/future.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 | 7a36f6201c94 |
| children | 59446d0f8341 |
