lists at cheimes.de
Wed Mar 28 00:45:54 CEST 2012
Am 28.03.2012 00:27, schrieb Michael Poeltl:
> can anybody tell why this 'little stupid *thing* of code' let's python-3.2.2, 2.6.X or python 2.7.2 segfault?
The code segfaults because you have increased the recursion limit. The
amount of recursions is limited by the stack size. A C program with a
usually stack size can have about 4000 recursions. Python takes at least
two stack levels for each recursion.
http://docs.python.org/library/sys.html#sys.setrecursionlimit contains a
More information about the Python-list