#20642: Infinite recursion in exp_polar
-------------------------+----------------------------
Reporter: nbruin | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: symbolics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------+----------------------------
The following shows that `exp_polar` is relying on a `recursion depth
exceeded` exception being caught in order to function:
{{{
sage: sys.setrecursionlimit(50000)
sage: exp_polar(-5.0 + 8.0*I)
<segfault>
}}}
It's the same problem as in #20624 and it means that either `_evalf_` must
be removed entirely or must be rewritten in such a way that it doesn't
call `_eval_`. This is due to a change introduced in
[http://git.sagemath.org/sage.git/diff/src/sage/symbolic/function.pyx?id=6d107297a5d8867f1a1e9996678ffa441adc8a2d
6d107297] which shuffles methods and indiscriminately masks exceptions.
--
Ticket URL: <http://trac.sagemath.org/ticket/20642>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.