#8388: pickle the paths of Rauzy diagrams
-----------------------------+----------------------------------------------
Reporter: vdelecroix | Owner: vdelecroix
Type: defect | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: combinatorics | Keywords: pickle, nested class
Work_issues: | Upstream: N/A
Reviewer: | Author: vdelecroix
Merged: | Dependencies: #8386
-----------------------------+----------------------------------------------
Changes (by vdelecroix):
* dependencies: => #8386
Old description:
> 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.
New description:
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.
The ticket depends on #8386 which moves the module for interval exchange
transformations from sage.combinat.iet to sage.dynamics.interval_exchanges
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8388#comment:10>
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.