#18908: mathematica interface hangs if mathematica is not installed
-------------------------------------+-------------------------------------
       Reporter:  dimpase            |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  scripts            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Dima Pasechnik,    |    Reviewers:  Nathann Cohen,
  Jeroen Demeyer                     |  Sébastien Labbé, Salvatore Stella
Report Upstream:  N/A                |  Work issues:
         Branch:  public/18908       |       Commit:
   Dependencies:                     |  a3c75ab48e7a0ef0b5f5c38cf769b58e0be35ba4
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 I also made a few more fixes to the script:
 1. actually using `readline`, which was the whole point of the script!
 2. removing the empty write `sys.stdout.write('')` (what was the point of
 that?).
 3. using `write()` instead of `writelines()` to write a single string.
 4. removing the unneeded `sys.exit()` at the end.

--
Ticket URL: <http://trac.sagemath.org/ticket/18908#comment:29>
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