#13826: Race condition in star_imports cache
--------------------------------+-------------------------------------------
       Reporter:  vbraun        |         Owner:  GeorgSWeber    
           Type:  defect        |        Status:  positive_review
       Priority:  critical      |     Milestone:  sage-5.5       
      Component:  build         |    Resolution:                 
       Keywords:                |   Work issues:                 
Report Upstream:  N/A           |     Reviewers:  Nils Bruin     
        Authors:  Volker Braun  |     Merged in:                 
   Dependencies:                |      Stopgaps:                 
--------------------------------+-------------------------------------------

Comment (by vbraun):

 Replying to [comment:7 nbruin]:
 >  - whitespace plugin complains about introduced whitespace

 So? Go ahead and design a workflow that takes care of it automatically if
 it bothers you.

 >  - the code writing the cache file first deletes the cachefile, writes
 the new one in a temporary file, and then moves it in place.

 Because os.rename() will fail if the destination exists on Windows (thanks
 for the well-thought out filesystem semantics, Bill G.!)

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