Also, Python 3 will one way or the other fix your problem: the cmp() 
function and the __cmp__() magic methods are no more.

On Tuesday, March 3, 2015 at 5:38:35 PM UTC+1, Jeroen Demeyer wrote:
>
> The obvious solution is to change __cmp__ to _cmp_ for every Python 
> class inheriting from Element (a lot of effort). The non-efficient 
> solution is to check for __cmp__ every time _cmp_ needs to be called. 
> The optimal solution would be to somehow automatically monkey-patch 
> those classes to define _cmp_ as alias for __cmp__. 
>

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