evhub / rabbit

Rabbit is a modern, functional programming language built on top of Python.
13 stars 1 forks source link

Prevent spurious maximum recursion depth errors #93

Closed evhub closed 10 years ago

evhub commented 10 years ago

Python throws RuntimeError: maximum recursion depth exceeded spuriously when Rabbit functions recurse a lot. Possible solution would be to simply decrease the number of Python functions used in calculating, but that would only increase the Rabbit recursion depth limit (as imposed by Python) not remove it entirely, as is true for well-crafted Python code.