Python code coverage for Lib/test/crashers/recursive_call.py
# | count | content |
---|---|---|
1 | n/a | #!/usr/bin/env python3 |
2 | n/a | |
3 | n/a | # No bug report AFAIK, mail on python-dev on 2006-01-10 |
4 | n/a | |
5 | n/a | # This is a "won't fix" case. It is known that setting a high enough |
6 | n/a | # recursion limit crashes by overflowing the stack. Unless this is |
7 | n/a | # redesigned somehow, it won't go away. |
8 | n/a | |
9 | n/a | import sys |
10 | n/a | |
11 | n/a | sys.setrecursionlimit(1 << 30) |
12 | n/a | f = lambda f:f(f) |
13 | n/a | |
14 | n/a | if __name__ == '__main__': |
15 | n/a | f(f) |