On Jun 2, 12:19 pm, kcrisman <kcris...@gmail.com> wrote:
> This is for the combinat folks:
>
> sage: from sage.combinat.permutation import to_standard as pts
> sage: a = [1,2,4]
> sage: pts(a)
> [1, 2, 3]
> sage: a
> [5, 5, 5]
>
> Is this desired behavior?  It seems quite dangerous.  I think I've
> found a workaround for me, but at the very least shouldn't this be
> documented?

Similarly,

sage: pts([1,1,3])
[1, 2, 3]

Again, is this design, or not?  If so, it should be documented... else
an exception should be raised.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to