]> granicus.if.org Git - python/commitdiff
regrtest: dump all threads on a crash, not only the current thread
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 4 May 2011 09:02:12 +0000 (11:02 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 4 May 2011 09:02:12 +0000 (11:02 +0200)
Lib/test/regrtest.py

index 0b7e3d2521c03882f523fefbf2f8a71b5a94289b..120bd6089e45025db844f7a16e7b4ff45e2c4ef1 100755 (executable)
@@ -1589,7 +1589,7 @@ def _make_temp_dir_for_build(TEMPDIR):
 
 if __name__ == '__main__':
     # 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
     # the elimination of implicit relative imports, this is still needed to