#15947: Weaken types for _rmul_ and _lmul_
-------------------------------+------------------------
Reporter: tscrim | Owner: tscrim
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.2
Component: coercion | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------+------------------------
Comment (by SimonKing):
Replying to [comment:2 tscrim]:
> Oh, here's an idea. What about having the `ElementMethods` for
`Algebras` inherit from `AlgebraElement`? This would give us the benefit
of using the strongly typed speed of c(ython) but still using the category
framework. I can do experiments if people think this is a good idea.
I do, and in fact at some point I tried to use more of the "good old"
Cython base classes in the category framework.
One problem, if I recall correctly, is a bug in Cython (still not fixed if
I recall correctly) that makes it possible to create a Python class C that
inherits from two Cython base classes A, B, such that some methods of A
trying to access cdef attributes of A get confused by cdef attributes of
B. So, the Cython does not recognise that the class layouts are
incompatible.
--
Ticket URL: <http://trac.sagemath.org/ticket/15947#comment:3>
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.