How alter maximum recurtion depth

M.-A. Lemburg mal at lemburg.com
Tue Apr 20 05:00:05 EDT 1999


Uffe Koch wrote:
> 
> How do I alter the maximum recursion depth for my Python interpreter?

Compile the interpreter with MAX_RECURSION_DEPTH set to the new
value, e.g. add a line

#define MAX_RECURSION_DEPTH 20000

to your config.h file.

-- 
Marc-Andre Lemburg                               Y2000: 255 days left
---------------------------------------------------------------------
          : Python Pages >>> http://starship.skyport.net/~lemburg/  :
           ---------------------------------------------------------






More information about the Python-list mailing list