commit | 2459a5ecaa43c8549ea53e9364253ff891676da5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 03 12:55:18 2015 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 03 12:55:18 2015 +0100 |
tree | b503323856e11d0e1e47e6c81875d32b1541ee04 | |
parent | 4ac163ae5f137af236931e778660cf7878d70c25 [diff] [blame] |
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)
diff --git a/src/if_python3.c b/src/if_python3.c index 374641d..300c24f 100644 --- a/src/if_python3.c +++ b/src/if_python3.c
@@ -1649,8 +1649,8 @@ } } - void + int set_ref_in_python3 (int copyID) { - set_ref_in_py(copyID); + int set_ref_in_py(copyID); }