Why are some infinite recursion stack overflows hard to deal with?

Alex cut_me_out at hotmail.com
Thu Jul 13 14:58:18 EDT 2000


Thanks, Martin.  That makes a lot of sense of the examples I've seen of
this problem.

Alex.

> If you manage to run into recursion on the C stack, then the Python
> stack overflow check won't trigger. Every time a Python function is
> invoked, the recursion depth is incremented; you get the exception at
> 10000. However, if you have, say, 10 C functions per Python function,
> you may hit the stack limit of your operating system before the
> recursion depth limit is hit.




More information about the Python-list mailing list