#10108: Calling mwrank(-10) hangs Sage, but uses very little CPU time
-------------------------------+--------------------------------------------
Reporter: drkirkby | Owner: cremona
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.6.1
Component: elliptic curves | Keywords: mwrank
Author: John Cremona | Upstream: N/A
Reviewer: Mike Hansen | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Comment(by cremona):
I think I can explain this. The problem to be solved for this ticket was
that if mwrank is given incomplete but otherwise correct input, it just
waits for the rest of the input, making Sage appear to hang. To fix this
I made sure that the input provided by Sage always has some other stuff
appended to it, so mwrank never has insufficient input. But then, the
*next* time input is sent to mwrank, there is likely to be still some of
that extra stuff in its input buffer. To get around that (I thought) I
made sure that mwrank was restarted at every call.
Clearly what I did was insufficient, but this does explain who the order
of executing commands does matter.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10108#comment:11>
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.