#14772: Remove CombinatorialClass from Permutations
------------------------------------+------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.11
Component: combinatorics | Resolution:
Keywords: days49 | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Dependencies: #8386 #14519 #14808
Stopgaps: |
------------------------------------+------------------------------------
Comment (by tscrim):
Replying to [comment:34 darij]:
> Should I fix this bug:
>
> {{{
> sage: S = Permutations(['c','a'])
> sage: elt = S(['c','c','c'])
> sage: elt in S
> True
> }}}
>
> or is it used in some other files to hack around permutations
restrictions similarly to how we use(d?) nonstandard permutations?
I think it should be fixed. I suspect it's something I introduced...
(especially in that case)
I also can't reproduce the avoidance part:
{{{
sage: [] in Permutations(0, avoiding=[1])
True
sage: [] in Permutations(avoiding=[1])
True
}}}
but the backtrack error is something that should be fixed. I'll see if I
can do it in a few lines, otherwise I'll say push it to another ticket.
--
Ticket URL: <http://trac.sagemath.org/ticket/14772#comment:35>
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.
For more options, visit https://groups.google.com/groups/opt_out.