#10963: More functorial constructions
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner: stumpc5
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.1
Component: categories | Resolution:
Keywords: days54 | Merged in:
Authors: Nicolas M. Thiéry | Reviewers: Simon King, Frédéric
Report Upstream: N/A | Chapoton
Branch: | Work issues:
public/ticket/10963 | Commit:
Dependencies: #11224, #8327, | eb7b486c6fecac296052f980788e15e2ad1b59e4
#10193, #12895, #14516, #14722, | Stopgaps:
#13589, #14471, #15069, #15094, |
#11688, #13394, #15150, #15506 |
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Replying to [comment:476 nthiery]:
> - As much as Cython can be critical for implementing elements, in
> particular for low level arithmetic, as much one needs to consider
> twice the added value of having a Cythoned parent.
+1. But things currently are as they are.
> - The __init_extra__ protocol is usually best avoided when it comes to
> assigning values to attributes, as this is not a lazy enough. Lazy
> attributes are a better bet, especially since Simon's hard work to
> make them work properly for Cython classes.
OK, but in this particular example it is all about registering a coercion.
That's not just done by a lazy attribute.
> - The current protocol handling the .one() method is too convoluted,
> in particular due handling backward compatibility. With a bit of
> refactoring of legacy code, in particular around polynomials, it
> probably could and should be simplified. Simon: do we already have a
> ticket for this?
None that I am aware of.
> This ticket is only about the construction of categories (which are
> Python classes), and all the magic happens at this level. So we should
> be safe.
+1
--
Ticket URL: <http://trac.sagemath.org/ticket/10963#comment:478>
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/groups/opt_out.