#15140: AbelianGroups should be in Groups().Commutative() /
Groups().Commutative().Finite()
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: group theory | Resolution:
Keywords: | Merged in:
Authors: Travis Scrimshaw | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/groups/abelian_groups_category-15140|
757c0449bb1dcc52ab36c11658d8ba653769ca78
Dependencies: #10963 #16725 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
Yooooooooo !
> Probably because someone missed it when doing the initial groups
catalog. Add it to `groups.misc.<tab>` here?
Well, here or in another ticket. It just takes one lie anyway.
> `Groups.ParentMethods.monoid_generators` is used for any parent in the
category of `Groups` that doesn't implement its own `monoid_generators`.
If a group is in `FiniteGroups`, which is what the `if` statement was
checking, then (with this change) it calls the
`FiniteGroups.ParentMethods.monoid_generators` instead (it's closer to the
front of the MRO). It's a cleaner design (and something I should've
realized on #16725).
Yes, but when will the code of `Groups.ParentMethods.monoid_generators` be
used, if not for finite group ? With you patch all `FiniteGroups` have
their own implementation now, but which kind of group is not a
`FiniteGroup` but is a `FiniteEnumeratedSet` ?
Nathann
--
Ticket URL: <http://trac.sagemath.org/ticket/15140#comment:11>
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/d/optout.