#7995: sage-test doesn't handle all of sage-doctest's return values
-------------------------------+--------------------------------------------
 Reporter:  wjp                |         Owner:  tbd                  
     Type:  defect             |        Status:  closed               
 Priority:  major              |     Milestone:  sage-4.3.2           
Component:  doctest            |    Resolution:  fixed                
 Keywords:                     |        Author:  Willem Jan Palenstijn
 Upstream:  N/A                |      Reviewer:  Alex Ghitza          
   Merged:  sage-4.3.2.alpha0  |   Work_issues:                       
-------------------------------+--------------------------------------------

Comment(by ddrake):

 The patch here doesn't work; it exits sage-doctest with sys.exit(2), and
 then munges the error code with "err = err // 256" -- that is, it does
 floor division by 256, so the 2 becomes 0 and KeyboardInterrupts are never
 detected!

 I hope to fix this while working on #8641.

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