#14431: Rewrite the sage-cleaner
---------------------------+------------------------------------------------
   Reporter:  vbraun       |             Owner:  leif     
       Type:  enhancement  |            Status:  new      
   Priority:  major        |         Milestone:  sage-5.10
  Component:  scripts      |          Keywords:           
Work issues:               |   Report Upstream:  N/A      
  Reviewers:               |           Authors:           
  Merged in:               |      Dependencies:           
   Stopgaps:               |  
---------------------------+------------------------------------------------
 Its still bad. Here is a wishlist:

 * don't continuously restart the sage cleaner during doctests
 * make it part of the sage library to get rid of the code duplication for
 temporary directories that keeps breaking the cleaner
 * in particular, make it doctestable
 * Entries in `spawned_processes` are killed by the cleaner and by
 `sage.interfaces.quit.expect_quitall()`.
 * avoid potential races with PID wrap-around: Sage should announce its
 shutdown to the cleaner.
 * Ensure (and doctest) that the temp directory with given PID is deleted
 before Sage starts. Even if the cleaner doesn't work we must not kill
 stuff from old `spawned_process` files.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14431>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to