Hello all,
In ticket #20767, I have made two important changes to the coercion
model for arithmetic:
1. Move all coercion logic from RingElement, ModuleElement and the like
to Element.
2. Change the implementation of double-underscore methods like __add__
to return NotImplemented if one argument is not a Sage Element and
coercion fails.
More details at the ticket: https://trac.sagemath.org/ticket/20767
For everyone who has been struggling with arithmetic using the coercion
model, it might be worth having a look at that ticket and see if it
fixes the problem. And obviously, I welcome reviewers :-)
Jeroen.
--
You received this message because you are subscribed to the Google Groups
"sage-devel" 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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.