[Python-checkins] cpython: regrtest: dump all threads on a crash, not only the current thread

victor.stinner python-checkins at python.org
Wed May 4 11:02:25 CEST 2011


http://hg.python.org/cpython/rev/17f9019fc6e9
changeset: 69819:17f9019fc6e9
parent: 69817:066e63425228
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Wed May 04 11:02:12 2011 +0200
summary:
 regrtest: dump all threads on a crash, not only the current thread
files:
 Lib/test/regrtest.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1589,7 +1589,7 @@
 
 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
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /