>>> sys.setrecursionlimit(1<<30) >>> f = lambda f:f(f) >>> f(f) Segmentation fault Is there some way that Python can determine that 1<<30 is an unreasonable recursion limit? Skip