#10354: Remove deprecated word objects from the pickle jar
-------------------------------+--------------------------------------------
   Reporter:  slabbe           |       Owner:  slabbe    
       Type:  defect           |      Status:  needs_work
   Priority:  major            |   Milestone:  sage-4.7  
  Component:  pickling         |    Keywords:            
     Author:  Sébastien Labbé  |    Upstream:  N/A       
   Reviewer:  Franco Saliola   |      Merged:            
Work_issues:                   |  
-------------------------------+--------------------------------------------

Comment(by slabbe):

 > The new pickles
 
([http://sage.math.washington.edu/home/slabbe/pickle_jar_new_word_objects.tar.bz2])
 are in a directory called {{{pickle_jar-4.6.1}}}.  Is there a reason for
 this?

 Not really. That is the default directory name when one creates pickles :

 {{{
 sage: import os
 sage: os.listdir(SAGE_ROOT+'/tmp')
 ['COPYING.txt', 'install', 'README.txt', 'sage-README-osx.txt',
 'VERSION.txt']
 sage: from sage.structure.sage_object import picklejar
 sage: picklejar(matrix([0,1,1]))
 sage: os.listdir(SAGE_ROOT+'/tmp')
 ['COPYING.txt', 'install', 'pickle_jar-4.6.2', 'README.txt', 'sage-README-
 osx.txt', 'VERSION.txt']
 sage: os.listdir(SAGE_ROOT+'/tmp/pickle_jar-4.6.2')
 ['_type__sage_matrix_matrix_integer_dense_Matrix_integer_dense__.sobj',
 '_type__sage_matrix_matrix_integer_dense_Matrix_integer_dense__.txt']
 }}}

 > If not, please fix this.

 Of course, I can rename the directory {{{pickle_jar-4.6.1}}}. What name
 should I chose ?

 I think there are no documentation anywhere for adding/removing objects
 from the pickle jar. So, if there is anything I should do better, we
 should write it somewhere so that the next time, it will be done the right
 way.

 Sébastien

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