#715: Parents probably not reclaimed due to too much caching
---------------------------------------------------------------------------+
       Reporter:  robertwb                                                 |    
     Owner:  somebody                                 
           Type:  defect                                                   |    
    Status:  needs_review                             
       Priority:  major                                                    |    
 Milestone:  sage-5.4                                 
      Component:  coercion                                                 |    
Resolution:                                           
       Keywords:  weak cache coercion Cernay2012                           |   
Work issues:                                           
Report Upstream:  N/A                                                      |    
 Reviewers:  Jean-Pierre Flori, Simon King, Nils Bruin
        Authors:  Simon King, Jean-Pierre Flori                            |    
 Merged in:                                           
   Dependencies:  #9138, #11900, #11599, #13145, to be merged with #11521  |    
  Stopgaps:                                           
---------------------------------------------------------------------------+

Comment (by nbruin):

 Replying to [comment:318 SimonKing]:

 > In other words, whether there is a segfault or not depends on the
 presence of tests that will never be executed because of the segfault.

 That's assuming that the doctesting framework tests all examples *in
 order*. I'm not 100% positive that that's the case. When I equipped a
 bunch of tests with lines of the form
 {{{
     >>> 1
     EXAMPLE 6
 }}}
 etcetera, the segfault vanished (of course!) but I didn't see all test
 appear in numerical order. I guess I was just blocking that because of the
 severe cognitive dissonance this was causing, but your remark now makes it
 unavoidable to acknowledge. Perhaps if we equip every test with a line
 {{{
     >>> sys.stderr.write('testing test 6\n')
 }}}
 we may might be able to see the actual order in which the examples are
 tested without preventing the doctest from happening. Perhaps when we
 establish that, we can strip out the silly doctesting layer and just have
 a plain python input file?

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