#5895: [with patch; needs work] Limit number of worksheet snapshots
----------------------+-----------------------------------------------------
 Reporter:  rbeezer   |       Owner:  rbeezer   
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-3.4.2
Component:  notebook  |    Keywords:            
----------------------+-----------------------------------------------------

Comment(by was):

 The code in the attached patch is this:
 {{{
         1948            if len(snapshots) == (max_snaps + 1):
         1949                os.remove(os.path.join(path, snapshots[0]))
 }}}

 It will not do what you claim: "A snapshot is deleted if (a) it is not one
 of the 30 newest, and (b) it was created after May 1, 2009".  I think
 perhaps you attached the wrong patch.

 > I guess I worry that it is not very courteous to trash anything in
 > someone's home directory without warning. ;-)

 I'm discovering that it is also evidently not very courteous to create
 500,000 files in a users home directory :-).

 William

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5895#comment:7>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
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