Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
set string max length to 500 characters
Browse files Browse the repository at this point in the history
Python issue #15463: the faulthandler module truncates strings to 500
characters, instead of 100, to be able to display long file paths.
  • Loading branch information
haypoenovance committed Sep 24, 2014
1 parent 4f52dc4 commit 8c1cad5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/index.rst
Expand Up @@ -218,6 +218,8 @@ Version 2.4
AttributeError("'NoneType' object has no attribute 'fileno'").
* Python issue #19306: Add extra hints to faulthandler stack dumps that they
are upside down.
* Python issue #15463: the faulthandler module truncates strings to 500
characters, instead of 100, to be able to display long file paths.


Version 2.3 (2013-12-17)
Expand Down
2 changes: 1 addition & 1 deletion traceback.c
@@ -1,7 +1,7 @@
#include "Python.h"
#include <frameobject.h>

#define MAX_STRING_LENGTH 100
#define MAX_STRING_LENGTH 500
#define MAX_FRAME_DEPTH 100
#define MAX_NTHREADS 100

Expand Down

0 comments on commit 8c1cad5

Please sign in to comment.