#7585: Fast function field arithmetic
------------------------+---------------------------------------------------
Reporter: robertwb | Owner: AlexGhitza
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.3.1
Component: algebra | Keywords:
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------+---------------------------------------------------
Comment(by roed):
I was a bit wary of them too, and wanted to ask a second opinion.
The goal is to make switching to the new coercion system as easy as
possible. Defining an _element_constructor_ method on a parent inheriting
from parent_old.Parent currently has no effect, since the __init__ method
on parent_old.Parent doesn't call the __init__ method on parent.Parent,
nor does it set _element_constructor to be equal to _element_constructor_.
Ideally, parent_old.Parent's __init__ would call parent.Parent.__init__,
but that change caused a ton of failures. The change in parent_init.patch
is more minor, just insuring that IF an _element_constructor_ method is
defined, then self._element_constructor is appropriately set (and the
coercion system thus believes that this parent uses the new coercion
model)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7585#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 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.