Walking deeply nested lists
Carl Banks
pavlovevidence at gmail.com
Sat Aug 28 06:11:59 EDT 2010
More information about the Python-list mailing list
Sat Aug 28 06:11:59 EDT 2010
- Previous message (by thread): Walking deeply nested lists
- Next message (by thread): Walking deeply nested lists
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Aug 28, 3:03 am, Peter Otten <__pete... at web.de> wrote: > 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. Ah, an advantage of iteration I forgot: no recursion limits or stack overflows. Carl Banks
- Previous message (by thread): Walking deeply nested lists
- Next message (by thread): Walking deeply nested lists
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list