SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 19 Python

faulthandler: dump all threads by default

* Set the default value of all_threads arguments to True
 * Py_FatalError() dumps all threads, instead of only the current thread

Dump only the current thread is not reliable. In some cases, Python is unable
to retrieve the state of the current thread and so is unable to dump the
traceback. faulthandler keeps a reference to the interpreter and so is always
able to dump the traceback of all threads.
V
Victor Stinner committed
7bba62fd68e3a2c410c37348cf679edea04c7718
Parent: c925617