#17533: Fix parent() strangeness
----------------------------------+------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.5
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #10962 | Stopgaps:
----------------------------------+------------------------
Description changed by jdemeyer:
Old description:
> 1. Get rid of `coerce.pxi` and move the functions from there to more
> appropriate places.
> 2. Define the global `parent()` function in `structure/element.pyx` and
> document it.
> 3. Move `have_same_parent()` to `structure/element.pyx`.
> 4. Remove superfluous `parent()` methods (where `parent()` is defined
> exactly as in the base `Element` class, so by inheritance it's not
> needed).
New description:
1. Keep only `inplace_threshold` in `coerce.pxi` (that can be dealt with
in another ticket) and move everything else to more appropriate places.
2. Define the global `parent()` function in `structure/element.pyx` and
document it.
3. Move `have_same_parent()` to `structure/element.pyx`.
4. Remove superfluous `parent()` methods (where `parent()` is defined
exactly as in the base `Element` class, so by inheritance it's not
needed).
--
--
Ticket URL: <http://trac.sagemath.org/ticket/17533#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 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.