Author: Armin Rigo <[email protected]>
Branch:
Changeset: r315:860cf40b0858
Date: 2013-06-28 11:21 +0200
http://bitbucket.org/pypy/stmgc/changeset/860cf40b0858/
Log: The original test showing the problem fixed in c43233de7f0e.
diff --git a/duhton/test/test_gc.py b/duhton/test/test_gc.py
--- a/duhton/test/test_gc.py
+++ b/duhton/test/test_gc.py
@@ -23,3 +23,14 @@
def test_verylong1():
test_long1(limit=16)
+
+
+def test_long_lists():
+ run("""
+ (defun g (lst n)
+ (while (> n 30000)
+ (append lst n)
+ (setq n (- n 1))))
+ (g (list) 34000)
+ """)
+ assert 1 # did not crash
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit