#7888: Do not pass comment lines to Macaulay2
--------------------------+-------------------------------------------------
Reporter: novoselt | Owner: was
Type: defect | Status: new
Priority: major | Milestone:
Component: interfaces | Keywords:
Work_issues: | Author: Andrey Novoseltsev
Upstream: N/A | Reviewer:
Merged: |
--------------------------+-------------------------------------------------
Currently passing "pure comments" to Macaulay2 locks the interface since
Macaulay2 does not print a new input prompts. Evaluating whitespace lines
locks it as well and while there is some stripping code in Expect, it does
not work if whitespace lines appear in the middle of a block.
The attached patch replaces all such lines with empty ones before passing
to Macaulay2. This may break string constants occupying several lines,
however, as far as I understand, they have no chance of working without
substantial modification of Expect.eval, which currently executes code
line by line. (In particular, they hang up now.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7888>
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.