#10108: Calling mwrank(-10) hangs Sage, but uses very little CPU time
-------------------------------+--------------------------------------------
Reporter: drkirkby | Owner: cremona
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.6.1
Component: elliptic curves | Keywords: mwrank
Author: John Cremona | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Changes (by newvalueoldvalue):
* status: new => needs_review
* author: => John Cremona
Comment:
This was harder than expected. Without either (1) rewriting mwrank's in
put parser or (2) writing a full parser within Sage and only sending to
mwrank when certainly correct, which I do not want to do. If you feed
mwrank correct but incomplete input (such as <5 integers separated by
whitespace) it quietly waits for the rest of the input (with no prompts).
To get around this I pad the strings sent to mwrank with ' 0 0 0 0 0 '
which means that this never happens, and then to get repeated calls to
mwrank to work properly need a bit of fiddling. I tested the patch on two
machines (4.6.alpha3).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10108#comment:3>
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.