donn wrote: > On 28/08/2010 08:43, Peter Otten wrote: >> If you call functions within functions (or methods, it doesn't matter) >> they consume stack space > > Right, got it. Darn, but at least there's that setrecursionlimit call.
But be warned that if you set the limit too high instead of giving you a RuntimeError your program will segfault. Peter -- http://mail.python.org/mailman/listinfo/python-list