mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #15463: the faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths
This commit is contained in:
parent
eb00d09718
commit
54f939b9ae
2 changed files with 4 additions and 1 deletions
|
@ -68,6 +68,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #15463: the faulthandler module truncates strings to 500 characters,
|
||||||
|
instead of 100, to be able to display long file paths
|
||||||
|
|
||||||
- Issue #6056: Make multiprocessing use setblocking(True) on the
|
- Issue #6056: Make multiprocessing use setblocking(True) on the
|
||||||
sockets it uses. Original patch by J Derek Wilson.
|
sockets it uses. Original patch by J Derek Wilson.
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#define OFF(x) offsetof(PyTracebackObject, x)
|
#define OFF(x) offsetof(PyTracebackObject, x)
|
||||||
|
|
||||||
#define PUTS(fd, str) write(fd, str, strlen(str))
|
#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_FRAME_DEPTH 100
|
||||||
#define MAX_NTHREADS 100
|
#define MAX_NTHREADS 100
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue