#11935: Make parent/element classes independent of base rings
---------------------------+------------------------------------------------
Reporter: SimonKing | Owner: nthiery
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.7.3
Component: categories | Keywords: parent class, element class,
category
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies: #11900
---------------------------+------------------------------------------------
Old description:
> At #11900 and [http://groups.google.com/group/sage-combinat-
> devel/browse_thread/thread/99c74827d704e677 sage-combinat-devel], as well
> as in some comments in sage/categories/category.py, the idea was
> discussed to make
>
> * `C.all_super_categories()` consistent with `C.parent_class.mro()` and
> `C.element_class.mro()`.
> * `Algebras(GF(3)).parent_class==Algebras(GF(5)).parent_class` - hence,
> make the parent/element classes as independent from the base of a
> category as possible.
>
> I think it should be fine to have both in one ticket.
New description:
At #11900 and [http://groups.google.com/group/sage-combinat-
devel/browse_thread/thread/99c74827d704e677 sage-combinat-devel], as well
as in some comments in sage/categories/category.py, the idea was discussed
to make, for example,
`Algebras(GF(3)).parent_class==Algebras(GF(5)).parent_class` - hence, make
the parent/element classes as independent from the base of a category as
possible.
--
Comment(by SimonKing):
Replying to [comment:2 SimonKing]:
> I suggest that I create patches for both 2. and 3., and then people can
tell what they think about it. The method resolution will then be taken
care of by another patch.
I just argued myself into splitting the ticket: This here will be for the
base ring independent parent/element classes, and another one will be for
method resolution order.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11935#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.