#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
Work_issues:           |       Upstream:  N/A                                   
                    
   Reviewer:           |         Author:  Keshav Kini                           
                    
     Merged:           |   Dependencies:                                        
                    
-----------------------+----------------------------------------------------

Comment(by leif):

 Another, slightly related issue is that you can't simply copy tracebacks
 from the `sage:` prompt into docstrings because they look a bit different
 in the doctest framework (and specific line numbers should of course be
 avoided in a doctest). This ticket certainly won't fix ''that'' though.

 But we could document (in the Developer's Guide) that one has to strip the
 exception type, i.e. anything up to `Traceback`, and replace anything
 containing filenames or line numbers by `...`, still on another ticket I
 think.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10458#comment:16>
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.

Reply via email to