From 2459a5ecaa43c8549ea53e9364253ff891676da5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 3 Feb 2015 12:55:18 +0100 Subject: updated for version 7.4.609 Problem: For complicated list and dict use the garbage collector can run out of stack space. Solution: Use a stack of dicts and lists to be marked, thus making it iterative instead of recursive. (Ben Fritz) --- src/if_python.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/if_python.c') diff --git a/src/if_python.c b/src/if_python.c index b7bfa785c..2ef0dfc9a 100644 --- a/src/if_python.c +++ b/src/if_python.c @@ -1567,8 +1567,8 @@ Py_GetProgramName(void) } #endif /* Python 1.4 */ - void + int set_ref_in_python (int copyID) { - set_ref_in_py(copyID); + return set_ref_in_py(copyID); } -- cgit v1.2.1