#7377: Symbolic Ring to Maxima via EclObject
-----------------------------------------------------------------------+----
Reporter: nbruin |
Owner: nbruin
Type: enhancement |
Status: needs_work
Priority: major |
Milestone: sage-feature
Component: symbolics |
Keywords:
Author: Nils Bruin, Jean-Pierre Flori |
Upstream: N/A
Reviewer: Jean-Pierre Flori, François Bissey, Karl-Dieter Crisman |
Merged:
Work_issues: |
-----------------------------------------------------------------------+----
Comment(by jpflori):
Replying to [comment:91 kcrisman]:
> > Patch attached. That means that the __only__ doctest failures now are
due to the fact that "maxima asks a question" gets reported via a
different error. Ready for review?
> I'm sorry I haven't been able to test this lately. Can you give an
example? As long as the end user still knows what to do (as in,
`assume(x>0)` etc.) that should be fine.
For example:
{{{
sage: integral(x^n,x)
Expected:
Traceback (most recent call last):
...
TypeError: Computation failed since Maxima requested additional
constraints (try the command 'assume(n+1>0)' before integral or limit
evaluation, for example):
Is n+1 zero or nonzero?
Got:
Traceback (most recent call last):
...
RuntimeError: ECL says: Maxima asks: Is n+1 zero or nonzero?
}}}
So we do not parse the error message and are less explicit than before.
There are still some things I'd like to change before a potential review:
1. Currently the interact function is broken for maxima_lib, it would be
nicer to have it working than deleting it (and we should not leave
something broken)
1. I'll update "split_and_refactor" to get rid of superfluous terpri or
string-trim as stated in comment 73
1. Someone should check error stated in comment 88, I also got it
sometimes, not sure why because that code was not so much touched
1. I could merge "floatcast" with "fast_calulculus" or
"split_and_refactor" so that we have less patches to apply and it is
easier to test
1. Parse error messages or just change the doctests and do bettor error
reporting later.
Afterwards (in other tickets ?):
1. Add doctests to maxima_abstract and maxima_lib
1. Avoid as much as possible string conversion in maxima_lib and take
into account comment 73.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7377#comment:92>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.