Thierry wrote:
> However, mixing the internal order of a common class when it exists
> together with id() would loose the transitivity property, so i guess
> those two kind of tests should remain separate.

I'm not sure I follow you: doesn't what cmp() does (if I understand
right: use the internal order when possible, otherwise sort by type and
refine by id) do the job? But then, of course, this behavior cannot be
implemented as a key function, only as a comparison function...

-- 
Marc

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

Reply via email to