Thanks for all the answers.

It seems my issues was caused by defining the _cmp_ method with the wrong 
number of underscores in my cython extension classes.
Do you confirm that for parents defined in a usual Python class __cmp__ 
with two underscores should be used and for a cython extension class _cmp_ 
with only one underscore?

I've put back my original __hash__ functions which evaluate equal on the 
two different classes and have now nice polynomial rings as I wanted.
Do you confirm this "hash collision" is not a problem?

Thanx,
JP

-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to