#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:
| e6271e9121a3666727299fa61d7f78e122983e9b
| Stopgaps:
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Now things should work.
Changes:
- For letterplace rings, one has to call the parent init later, so that
the conversions that occur in `__init_extra__` work.
- In pushout.py, there is one test where a class is defined as a subclass
of a parent-class-with-category. By consequence, an instance of that class
is not correctly category-initialised.
- I just realise that I forgot some fixes for tests in homset.py. Here is
problematic what I mentioned above: The base ring is not given, but the
category has a base ring, and because of the missing base ring,
`__init_extra__` fails. Fixing it now...
--
Ticket URL: <http://trac.sagemath.org/ticket/15718#comment:28>
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.