Skip to content

Instantly share code, notes, and snippets.

@gcr
Created January 24, 2009 06:47
Show Gist options
  • Save gcr/51371 to your computer and use it in GitHub Desktop.
Save gcr/51371 to your computer and use it in GitHub Desktop.
michael@northbound:~$ python
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.setrecursionlimit(sys.maxint)
>>> sys.setrecursionlimit(2**31-1)
>>> def f():
... f()
...
>>> f()
Segmentation fault
michael@northbound:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment