1. This gives an error:
sage: G = PermutationGroup?([])
sage: G.list()
2. Permutation group should take an argument for the degree, e.g.:
sage: G = PermutationGroup?([],degree=4)
3. Permutation group should set the degree correctly:
sage: G = PermutationGroup?([[]])
sage:
sage: G.list()
[()]
sage: G.degree()
1
sage: G = PermutationGroup?(
Error: Failed to load processor 1No macro or processor named '1' found
)
sage: G.degree()
1
The first group should have degree 0.
3. Degree 0 should really be supported or
we will have difficulties with automorphism
groups of boundary cases. Currently this
gives an error:
sage: SymmetricGroup?(0)
Certainly these examples should go into the
docstrings.
Most of these can be trivially fixed, but
it would be good if someone could review
permutation groups with a view to catching
these problems before they arise.