summaryrefslogtreecommitdiffstats
path: root/Lib/test/crashers/recursive_call.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-11 07:21:19 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-11 07:21:19 (GMT)
commitae1df4112710fdfc7ffb6248b6a61b6b3cadd880 (patch)
tree3f95ff8e7208b4700291b3efc8df1197c5d5a6f8 /Lib/test/crashers/recursive_call.py
parent5b093a0b730792017ed6ba058743f2173bca5b78 (diff)
downloadcpython-ae1df4112710fdfc7ffb6248b6a61b6b3cadd880.zip
cpython-ae1df4112710fdfc7ffb6248b6a61b6b3cadd880.tar.gz
cpython-ae1df4112710fdfc7ffb6248b6a61b6b3cadd880.tar.bz2
add another crash reported by Thomas Wouters
Diffstat (limited to 'Lib/test/crashers/recursive_call.py')
-rw-r--r--Lib/test/crashers/recursive_call.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/crashers/recursive_call.py b/Lib/test/crashers/recursive_call.py
new file mode 100644
index 0000000..0776479
--- /dev/null
+++ b/Lib/test/crashers/recursive_call.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+
+# No bug report AFAIK, mail on python-dev on 2006-01-10
+import sys
+
+sys.setrecursionlimit(1 << 30)
+f = lambda f:f(f)
+
+if __name__ == '__main__':
+ f(f)