#11935: Make parent/element classes independent of base rings
-----------------------------------------------------------------+----------
Reporter: SimonKing |
Owner:
Type: enhancement |
Status: needs_review
Priority: major |
Milestone: sage-5.0
Component: categories |
Resolution:
Keywords: parent class, element class, category | Work
issues:
Report Upstream: N/A |
Reviewers:
Authors: Simon King | Merged
in:
Dependencies: #9138, #11900, #11943, #12875, #12876, #12877 |
Stopgaps:
-----------------------------------------------------------------+----------
Comment (by SimonKing):
Since method_provider_cls is not being checked in dynamic_class, I guess
it is fine to test it in _make_named_class.
I notice
{{{
self._super_categories
return dynamic_class(class_name,
tuple(getattr(cat,name) for cat in
self._super_categories),
method_provider_cls, prepend_cls_bases =
False, doccls = doccls,
reduction = (getattr, (self, name)), cache =
cache)
}}}
i.e., first an empty call to self._super_categories. I guess that can be
erased?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11935#comment:65>
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.