summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-30 23:31:06 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-30 23:31:06 (GMT)
commit024e37adccd9f0d879b014da28b02d04f0866f8c (patch)
tree9ca8e6548244610dd235876a87f639a1942647d4 /Doc/using
parentd85456279f129e19a3f4c8ba0b3d05f5bdbfca1d (diff)
downloadcpython-024e37adccd9f0d879b014da28b02d04f0866f8c.zip
cpython-024e37adccd9f0d879b014da28b02d04f0866f8c.tar.gz
cpython-024e37adccd9f0d879b014da28b02d04f0866f8c.tar.bz2
Issue #11393: Add the new faulthandler module
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index b5a9b32..8a5a662 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -498,6 +498,13 @@ These environment variables influence Python's behavior.
separated string, it is equivalent to specifying :option:`-W` multiple
times.
+.. envvar:: PYTHONFAULTHANDLER
+
+ If this environment variable is set, :func:`faulthandler.enable` is called
+ at startup: install a handler for :const:`SIGSEGV`, :const:`SIGFPE`,
+ :const:`SIGBUS` and :const:`SIGILL` signals to dump the Python traceback.
+ This is equivalent to :option:`-X` ``faulthandler`` option.
+
Debug-mode variables
~~~~~~~~~~~~~~~~~~~~