summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2012-07-30 11:08:58 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2012-07-30 11:08:58 (GMT)
commit54f939b9ae9cf91ed4cb3cd1b0f1e6aaff19782a (patch)
tree0a6d5005c1a160e4cbbb4e9f82b60a7322642132 /Python
parenteb00d0971842876548af3fb7220eed8e1f46455e (diff)
downloadcpython-54f939b9ae9cf91ed4cb3cd1b0f1e6aaff19782a.zip
cpython-54f939b9ae9cf91ed4cb3cd1b0f1e6aaff19782a.tar.gz
cpython-54f939b9ae9cf91ed4cb3cd1b0f1e6aaff19782a.tar.bz2
Issue #15463: the faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths
Diffstat (limited to 'Python')
-rw-r--r--Python/traceback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c
index ce670f3..b928902 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -14,7 +14,7 @@
#define OFF(x) offsetof(PyTracebackObject, x)
#define PUTS(fd, str) write(fd, str, strlen(str))
-#define MAX_STRING_LENGTH 100
+#define MAX_STRING_LENGTH 500
#define MAX_FRAME_DEPTH 100
#define MAX_NTHREADS 100