Yooooooooooo ! > Well, there are two ways to make this consistent: > > 1) it being deprecated and removed, eventually. > i.e. things like Permutation((3,5,7)) > must become Permutation(['(3,5,7)']) > > 2) things like Permutation((3,5,7),(1,2),(42,41)) > should be allowed as well. > > I'd much prefer 2). Should we hold a formal vote?
2) would make it less inconsistent but then we still have the problem that Permutation([1,2,3]) != Permutation((1,2,3)). So given that: Permutation([(3,5,7),(1,2),(42,41)]) already works I do not find it is very bad if Permutation((3,5,7),(1,2),(42,41)) does not. So I vote for 1). I would also be very happy if 1-based permutations were not at the same time 0-based words, i.e.: sage: Permutation([3,2,1])(1) 3 sage: Permutation([3,2,1])[1] 2 Nathann -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.