• Victor Stinner's avatar
    bpo-1230540: Add threading.excepthook() (GH-13515) · cd590a7c
    Victor Stinner yazdı
    Add a new threading.excepthook() function which handles uncaught
    Thread.run() exception. It can be overridden to control how uncaught
    exceptions are handled.
    
    threading.ExceptHookArgs is not documented on purpose: it should not
    be used directly.
    
    * threading.excepthook() and threading.ExceptHookArgs.
    * Add _PyErr_Display(): similar to PyErr_Display(), but accept a
      'file' parameter.
    * Add _thread._excepthook(): C implementation of the exception hook
      calling _PyErr_Display().
    * Add _thread._ExceptHookArgs: structseq type.
    * Add threading._invoke_excepthook_wrapper() which handles the gory
      details to ensure that everything remains alive during Python
      shutdown.
    * Add unit tests.
    cd590a7c
Adı
Son kayıt (commit)
Son güncelleme
..
pycore_accu.h Loading commit data...
pycore_atomic.h Loading commit data...
pycore_ceval.h Loading commit data...
pycore_condvar.h Loading commit data...
pycore_context.h Loading commit data...
pycore_fileutils.h Loading commit data...
pycore_getopt.h Loading commit data...
pycore_gil.h Loading commit data...
pycore_hamt.h Loading commit data...
pycore_initconfig.h Loading commit data...
pycore_object.h Loading commit data...
pycore_pathconfig.h Loading commit data...
pycore_pyerrors.h Loading commit data...
pycore_pyhash.h Loading commit data...
pycore_pylifecycle.h Loading commit data...
pycore_pymem.h Loading commit data...
pycore_pystate.h Loading commit data...
pycore_traceback.h Loading commit data...
pycore_tupleobject.h Loading commit data...
pycore_warnings.h Loading commit data...