Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2063aaf

Browse files
author
Guido van Rossum
committed
Update faulthandler docs.
1 parent 59202e5 commit 2063aaf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/library/faulthandler.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ tracebacks:
2727
* Only the filename, the function name and the line number are
2828
displayed. (no source code)
2929
* It is limited to 100 frames and 100 threads.
30+
* The order is reversed: the most recent call is shown first.
3031

3132
By default, the Python traceback is written to :data:`sys.stderr`. To see
3233
tracebacks, applications must be run in the terminal. A log file can
@@ -129,7 +130,7 @@ Example of a segmentation fault on Linux: ::
129130
>>> ctypes.string_at(0)
130131
Fatal Python error: Segmentation fault
131132

132-
Current thread 0x00007fb899f39700:
133+
Current thread 0x00007fb899f39700 (most recent call first):
133134
File "/home/python/cpython/Lib/ctypes/__init__.py", line 486 in string_at
134135
File "<stdin>", line 1 in <module>
135136
Segmentation fault

0 commit comments

Comments
 (0)