#7449: Some doc request hangs sage eating all memory.
------------------------------+---------------------------------------------
   Reporter:  hivert          |       Owner:  mvngu          
       Type:  defect          |      Status:  positive_review
   Priority:  major           |   Milestone:  sage-4.3       
  Component:  documentation   |    Keywords:  doc            
Work_issues:                  |      Author:                 
   Reviewer:  Florent Hivert  |      Merged:                 
------------------------------+---------------------------------------------
Changes (by hivert):

 * cc: hivert, nthiery (added)
  * reviewer:  => Florent Hivert
  * status:  needs_review => positive_review


Comment:

 Replying to [comment:3 was]:

 > It seems that the ms object implements __len__, but this function
 > never returns.  It's just that ipython was calling len() on it.

 Good remark ! This indicate that there should be a generic test in the
 base category {{{Objects()}}} checking that for the current object
 {{{__len__}}} is either not defined either returns a correct {{{int}}}
 object or else raise an exception. Any other behavior (loop, returning a
 sage Integer or any fancy object should be reported as an error).

 Those bugs seems therefore catchable by {{{TestSuite}}} if the object
 correctly inherits from the good category. I'll try it.

 Otherwise positive review.

 Cheers,

 Florent

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