From: Guido van Rossum Date: Mon, 21 Oct 2013 02:15:19 +0000 (-0700) Subject: Update faulthandler docs. X-Git-Tag: v3.4.0b1~571^2~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2063aafc6ee0750b87ba67073ec0c10db066d1fb;p=thirdparty%2FPython%2Fcpython.git Update faulthandler docs. --- diff --git a/Doc/library/faulthandler.rst b/Doc/library/faulthandler.rst index 3c336215fc22..61bc503d8f36 100644 --- a/Doc/library/faulthandler.rst +++ b/Doc/library/faulthandler.rst @@ -27,6 +27,7 @@ tracebacks: * Only the filename, the function name and the line number are displayed. (no source code) * It is limited to 100 frames and 100 threads. +* The order is reversed: the most recent call is shown first. By default, the Python traceback is written to :data:`sys.stderr`. To see tracebacks, applications must be run in the terminal. A log file can @@ -129,7 +130,7 @@ Example of a segmentation fault on Linux: :: >>> ctypes.string_at(0) Fatal Python error: Segmentation fault - Current thread 0x00007fb899f39700: + Current thread 0x00007fb899f39700 (most recent call first): File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at File "", line 1 in Segmentation fault