#8388: pickle the paths of Rauzy diagrams
--------------------------+-------------------------------------------------
   Reporter:  vdelecroix  |       Owner:  vdelecroix              
       Type:  defect      |      Status:  new                     
   Priority:  major       |   Milestone:  sage-4.3.4              
  Component:  algebra     |    Keywords:  pickle of a nested class
     Author:  vdelecroix  |    Upstream:  N/A                     
   Reviewer:              |      Merged:                          
Work_issues:              |  
--------------------------+-------------------------------------------------
 There is a pickle error with the nested class RauzyDiagram.Path in
 sage.combinat.iet.template

 {{{
 sage: p = iet.Permutation('a b c','c b a')
 sage: r = p.rauzy_diagram()
 sage: g = r.path(p, 't', 'b')
 sage: dumps(g)
 PicklingError Traceback(most recent call last)
 ...
 PicklingError: Can't pickle <class 'sage.combinat.iet.labelled.Path'>:
 attribute lookup sage.combinat.iet.labelled.Path failed
 }}}

 A __metaclass__ must be defined for RauzyDiagram.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8388>
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