Public feed #598375

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-07-01 08:46 UTC
rendered paste body
lifthrasiir@workspace:~$ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.getrecursionlimit()
1000
>>> sys.setrecursionlimit(1000000)
>>> a = 0
>>> def x(): global a; a += 1; x()
... 
>>> try: x()
... except: pass
... 
Segmentation fault
lifthrasiir@workspace:~$ [139]