Mercurial > cpython-lru_cache-weakref
diff Python/thread_pthread.h @ 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 | 6f6f965c5e2d |
| children | 2a785b668a16 11a758c56027 |
