On Friday, May 20, 2016 at 9:43:33 PM UTC+2, Nils Bruin wrote:
>
> On Friday, May 20, 2016 at 11:26:50 AM UTC-7, Nils Bruin wrote:
>>
>> sys.setrecursionlimit(5)
>>
> OK, patching sage.doctest.forker.init_sage to include this statements
> results in:
> Can we make this check part of our usual
On Friday, May 20, 2016 at 11:26:50 AM UTC-7, Nils Bruin wrote:
>
> Come to think of it, I think that flag already exists:
>
> sys.setrecursionlimit(5)
>
OK, patching sage.doctest.forker.init_sage to include this statements
results in:
sage -t src/sage/functions/other.py # Killed due to seg
On Friday, May 20, 2016 at 9:50:05 AM UTC-7, Samuel Lelievre wrote:
>
>
> Could you tell which two places you have in mind?
>
http://trac.sagemath.org/ticket/20624
http://trac.sagemath.org/ticket/10963#comment:242
In both cases, the "RuntimeError: Maximum recursion depth exceeded" was
caught by
2016-05-19 16:49:24 UTC+2, Nils Bruin:
>
> You can use infinite recursion productively in python. It even evaluates
> pretty quickly:
>
> We've used it in the sage library in at least two places (although
>
one was rewritten a while ago to use a different mechanism).
>
Could you tell which two