#11931: Fix all element classes should take the parent as first mandatory
argument.
--------------------------+-------------------------------------------------
Reporter: nthiery | Owner: nthiery
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.3
Component: categories | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
--------------------------+-------------------------------------------------
Taken from Sets.ParentMethods._element_constructor_from_element_class:
{{{
Caveat: ``self`` is passed to the constructor of the
element class as a keyword argument ``parent``. Many
element classes in Sage, in particular those implemented
by mean of extension types, take ``parent`` as first
mandatory argument instead.
This incompatibility will be fixed soon (Fall 2009?) by
having all element classes take ``parent`` as first
mandatory argument, and updating this default
implementation of :meth:`_element_constructor_`.
}}}
Fall 2009 is long over ...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11931>
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.