#15718: Implement the __init_extra__ protocol of categories for Cython classes.
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.4
Component: categories | Resolution:
Keywords: | Merged in:
Authors: Simon King | Reviewers:
Report Upstream: N/A | Work issues: Ensure that
Branch: | __init_extra__ is called in the
u/SimonKing/implement_the___init_extra___protocol_of_categories_for_cython_classes_|
right moment
Dependencies: | Commit:
| 3c36b95990f755ac80ab44e3b709240e2e751c0a
| Stopgaps:
-------------------------------------+-------------------------------------
Changes (by SimonKing):
* status: needs_review => needs_work
* work_issues: => Ensure that __init_extra__ is called in the right
moment
Comment:
Oops:
{{{
sage -t src/sage/algebras/free_algebra.py # Killed due to segmentation
fault
sage -t src/sage/algebras/letterplace/letterplace_ideal.pyx # Killed due
to segmentation fault
sage -t src/sage/algebras/letterplace/free_algebra_element_letterplace.pyx
# Killed due to segmentation fault
sage -t src/sage/algebras/letterplace/free_algebra_letterplace.pyx #
Killed due to segmentation fault
sage -t src/sage/categories/pushout.py # 5 doctests failed
sage -t src/sage/categories/homset.py # 4 doctests failed
sage -t src/sage/rings/quotient_ring_element.py # Killed due to
segmentation fault
sage -t src/sage/rings/ring.pyx # Killed due to segmentation fault
sage -t src/sage/rings/quotient_ring.py # Killed due to segmentation
fault
sage -t src/sage/rings/polynomial/polynomial_quotient_ring.py # 35
doctests failed
sage -t src/sage/rings/polynomial/polynomial_quotient_ring_element.py # 6
doctests failed
}}}
Sorry, I am currently unable to continue work on this. I suppose the
solution is to either change the point at which `Parent.__init__` is
called (since it tests whether `self.one()` works and multiplication
works, it needs to be done rather late), or to indicate that there is a
custom coercion that is better than the default coerce map (which is what
I did in the case of multivariate polynomial rings).
--
Ticket URL: <http://trac.sagemath.org/ticket/15718#comment:24>
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.