Recursion

Darrell news at dorb.com
Mon Jan 1 21:44:41 EST 2001


"David Lees" wrote:
>
> 1. I notice a pretty low (<999) recursion depth limit for factorial on
> Python 2.0.  Can the depth be set easily or does it require recompiling
> Python?
>
>From a previous message from Tim.
        sys.setrecursionlimit(5000)

 --Darrell





More information about the Python-list mailing list