#14260: Casting a standard tableau as a tableau
----------------------------------+-----------------------------------------
Reporter: chrisjamesberg | Owner: sage-combinat
Type: defect | Status: needs_review
Priority: major | Milestone:
sage-duplicate/invalid/wontfix
Component: combinatorics | Resolution:
Keywords: tableau | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by chrisjamesberg):
This casting is used all over the place. Immutability has nothing to do
with it, a tuple is immutable and yet I can cast it as a list.
One can cast a Partition as a Composition:
{{{
sage: Composition(Partition([3,2,1]))
[3, 2, 1]
sage: isinstance(c, Composition)
True
sage: isinstance(c, Partition)
False
}}}
Which is the correct behavior?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14260#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.