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_python.c b/src/if_python.c
index b7bfa78..2ef0dfc 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -1567,8 +1567,8 @@
}
#endif /* Python 1.4 */
- void
+ int
set_ref_in_python (int copyID)
{
- set_ref_in_py(copyID);
+ return set_ref_in_py(copyID);
}