• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python3
2
3# No bug report AFAIK, mail on python-dev on 2006-01-10
4
5# This is a "won't fix" case.  It is known that setting a high enough
6# recursion limit crashes by overflowing the stack.  Unless this is
7# redesigned somehow, it won't go away.
8
9import sys
10
11sys.setrecursionlimit(1 << 30)
12f = lambda f:f(f)
13
14if __name__ == '__main__':
15    f(f)
16