I've been using the `Factorization` class in some code I'm writing in Sage and I'm getting this error which to me looks like a bug in the `Factorization` class. In the line with the error there is a call to a `__cmp__` method on the `list` class, but apparently there is no such method. Below you can see part of the stack trace.
/sage/local/lib/python2.7/site-packages/sage/structure/factorization.pyc in __cmp__(self, other) 426 c = cmp(self.__unit, other.__unit) 427 if c: return c --> 428 return list.__cmp__(self, other) 429 430 def __copy__(self): AttributeError: type object 'list' has no attribute '__cmp__' This can be checked by '__cmp__' in dir(list) False So what's happening? Is there a bug in the `Factorization` class? PS: I tried to post this exact question on asksage but I was told spam was detected and my post was not accepted. -- 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.