#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: Keshav Kini | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Comment(by leif):
Replying to [comment:7 kini]:
> I'm not sure what you mean by "consistently add the trailing blank". The
substitutions I patched in do not remove or add any further spaces, so no
loss of trailing blanks will occur. If there was a blank after a "...",
"....:", or "sage:", there will correspondingly be one after the "...",
"...", or ">>>" respectively.
I mean add the space to ''all'' prompt patterns to match (and of course
their substitutes), e.g. line 485 (it's in the comment, but not the code)
and line 613 (also in the comment on line 251).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10458#comment:8>
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.