#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 kini):
Replying to [comment:8 leif]:
> 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).
>
Ah, I see. Yes, I left those alone because changing them would change the
behavior of the doctesting framework for docstrings containing lines like
"sage:dostuff()" or "...dostuff()". Arguably the doctest framework
''shouldn't'' be allowing lines like that anyway, but at the moment it
does...
Replying to [comment:9 leif]:
> We have the convention to prepend (e.g.) #10458 to the commit messages,
and also trac_10458- to the filenames of patches we upload.
OK, I'll fix the patch up then.
By the way, when changing my patch submission should I be uploading
further patch files to layer on top of the one I've got here, or replacing
this patch with new patches which diff to 4.6?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10458#comment:10>
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.