Mercurial > cpython-lru_cache-weakref
diff Python/traceback.c @ 78329:ff7fc6a91212
Issue #15463: the faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths
| author | Victor Stinner <victor.stinner@gmail.com> |
|---|---|
| date | Mon, 30 Jul 2012 13:08:58 +0200 |
| parents | 54524897fafc |
| children | 82e9a9f8be3c ef5dd5bda323 |
line wrap: on
line diff
--- a/Python/traceback.c Mon Jul 30 03:38:02 2012 -0700 +++ b/Python/traceback.c Mon Jul 30 13:08:58 2012 +0200 @@ -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
