#10458: Doctest framework fails to parse multiline input pasted from sage
interactive prompt
-----------------------+----------------------------------------------------
Reporter: kini | Owner: mvngu
Type: defect | Status: new
Priority: major | Milestone:
Component: doctest | Keywords: doctest, continuation, multiline input,
interactive prompt
Author: kini | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Changes (by newvalueoldvalue):
* author: => kini
Comment:
Well, Sage already replaces "sage:" with ">>>", so why not replace "....:"
with "..."? In any case, "....:" looks better, since it is the same length
as "sage:", making the line prefix look more like a separate "column", as
it should (note that it is "....:" with four periods, not "...:" as you
have written).
Here is a patch which seems to work (at least the attached test.rst
passes). What do you think? I'm currently running `sage -testall` with the
patch applied to see if anything broke...
I'm new to sage_trac, so forgive me if setting my username as the "Author"
was not the correct thing to do.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10458#comment:2>
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.