aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-11 07:21:19 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-11 07:21:19 +0000
commitae1df4112710fdfc7ffb6248b6a61b6b3cadd880 (patch)
tree3f95ff8e7208b4700291b3efc8df1197c5d5a6f8 /Lib/test/crashers
parentadded a missing +\versionadded{2.2} tag (diff)
downloadcpython-ae1df4112710fdfc7ffb6248b6a61b6b3cadd880.tar.gz
cpython-ae1df4112710fdfc7ffb6248b6a61b6b3cadd880.tar.bz2
cpython-ae1df4112710fdfc7ffb6248b6a61b6b3cadd880.zip
add another crash reported by Thomas Wouters
Diffstat (limited to 'Lib/test/crashers')
-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 00000000000..077647995f1
--- /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)