FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue #15463: the faulthandler module truncates strings to 500 charac… · python/cpython@54f939b · GitHub

Repository navigation

Commit 54f939b

Browse files
committed
Issue #15463: the faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths
1 parent eb00d09 commit 54f939b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎Misc/NEWS‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Core and Builtins
6868
Library
6969
-------
7070

71+
- Issue #15463: the faulthandler module truncates strings to 500 characters,
72+
instead of 100, to be able to display long file paths
73+
7174
- Issue #6056: Make multiprocessing use setblocking(True) on the
7275
sockets it uses. Original patch by J Derek Wilson.
7376

‎Python/traceback.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#define OFF(x) offsetof(PyTracebackObject, x)
1515

1616
#define PUTS(fd, str) write(fd, str, strlen(str))
17-
#define MAX_STRING_LENGTH 100
17+
#define MAX_STRING_LENGTH 500
1818
#define MAX_FRAME_DEPTH 100
1919
#define MAX_NTHREADS 100
2020

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL