You might want to stop recursing at a certain depth...

On Wednesday, April 2, 2014 7:54:04 PM UTC+1, Paul Mercat wrote:
>
> Hello !
>
> The following code makes sage crash :
>
> sys.setrecursionlimit(100000)
> def rec(niter):
>     rec(niter-1)
>     rec(niter-1)
> rec(100)
>
> I would be very pleased if somebody knows how to fix this bug.
> Thanks,
> Paul
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to