Mercurial > cpython-lru_cache-weakref
comparison Python/codecs.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 | 25ddd3dc7a7a |
| children | 898304f6da23 416654e27d88 |
comparison
equal
deleted
inserted
replaced
| 17163:ad683f20bb14 | 17164:b44e77a12978 |
|---|
