#8734: make sage variables unique in maxima
-------------------------------------+-------------------------------------
       Reporter:  jason              |        Owner:  jason
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.3
      Component:  interfaces         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Jason Grout, Ralf  |    Reviewers:  Volker Braun, Paul
  Stephan                            |  Zimmerman, Karl-Dieter Crisman
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/rws/ticket/8734-1                |  793bb058a06b3dfb31c6029f6c30960d1dee8cc7
   Dependencies:  #15530             |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by rws):

 * dependencies:   => #15530


Comment:

 All the following is modulo my Python newbieness.

 What I wrote about legal tricks to preserve the traceback would work IF
 Sage was purely Python-2 or Python-3. With the momentary transition to
 Py-3, the form `raise Error, message, traceback` of the raise command is
 considered a bug. OTOH there is no way to supply two arguments in
 parentheses. Finally, the form `raise Error from previous_error` is only
 possible with Py-3.

 Secondly, to ask interactively for a missing assumption a message has to
 be given in the terminal different from the error message tied to the
 original `RuntimeError`. So, simply re-raising is not an option if you do
 not like `RuntimeError: ECL says: Maxima asks: Is _SAGE_VAR_a an
 integer?`.

 So, in my opinion, unless someone comes up with a better solution, this
 ticket will have to wait until Sage is Py-3.

--
Ticket URL: <http://trac.sagemath.org/ticket/8734#comment:48>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to