Does Python optimize tail recursion?
I have the following piece of code which fails with the following error:
I have the following piece of code which fails with the following error:
I am converting a csh script to a python script. The script calls a memory-intensive executable which requires a very large stack, so the csh script sets the stacksize to unlimited: