mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
GH-113655: Lower the C recursion limit on various platforms (GH-113944)
This commit is contained in:
parent
6c502ba809
commit
17b73ab99e
13 changed files with 41 additions and 39 deletions
|
@ -965,7 +965,11 @@ dump_traceback(int fd, PyThreadState *tstate, int write_header)
|
|||
unsigned int depth = 0;
|
||||
while (1) {
|
||||
if (MAX_FRAME_DEPTH <= depth) {
|
||||
PUTS(fd, " ...\n");
|
||||
if (MAX_FRAME_DEPTH < depth) {
|
||||
PUTS(fd, "plus ");
|
||||
_Py_DumpDecimal(fd, depth);
|
||||
PUTS(fd, " frames\n");
|
||||
}
|
||||
break;
|
||||
}
|
||||
dump_frame(fd, frame);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue