mirror of
https://github.com/python/cpython.git
synced 2025-10-22 14:42:22 +00:00
regrtest: dump all threads on a crash, not only the current thread
This commit is contained in:
parent
afd01172f9
commit
55b5fa76a7
1 changed files with 1 additions and 1 deletions
|
@ -1589,7 +1589,7 @@ def _make_temp_dir_for_build(TEMPDIR):
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# Display the Python traceback on segfault and division by zero
|
# Display the Python traceback on segfault and division by zero
|
||||||
faulthandler.enable()
|
faulthandler.enable(all_threads=True)
|
||||||
|
|
||||||
# Remove regrtest.py's own directory from the module search path. Despite
|
# Remove regrtest.py's own directory from the module search path. Despite
|
||||||
# the elimination of implicit relative imports, this is still needed to
|
# the elimination of implicit relative imports, this is still needed to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue