A related question now that I'm thinking about refactoring:

can we drop the in-place methods like __iadd__? May we assume that no Element will need in-place methods with coercion?

The problem is when classes want to implement a special __add__ without coercion (that is legitimate). If those classes do not also implement __iadd__, stuff breaks because of the __iadd__ implemented in the coercion model.

Note that classes can still implement in-place methods without coercion if they want.

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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to