Just never ever override
    double underscore __richtcmp__ for elements.

Yes, that is a very good point to make and reinforce.

Same for __add__, __mul__ and so on... except if you explicitly want to bypass the coercion model (which is not fully supported anyway, see
#24066)

--
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