[sage-devel] Call to `__cmp__` method on `list` in `Factorization` class fails

2016-06-14 Thread Johan S . R . Nielsen
> /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 d

Re: [sage-devel] Call to `__cmp__` method on `list` in `Factorization` class fails

2016-06-14 Thread John Cremona
On 14 June 2016 at 10:39, sidious.l...@gmail.com wrote: > On Tuesday, June 14, 2016 at 10:09:28 AM UTC+1, John Cremona wrote: >> >> >> Can you say exactly which Sage version you are using, and give a >> complete sequence of commands which leads to the error? > > > I'm using SageMath Version 6.10,

Re: [sage-devel] Call to `__cmp__` method on `list` in `Factorization` class fails

2016-06-14 Thread sidious.l...@gmail.com
On Tuesday, June 14, 2016 at 10:09:28 AM UTC+1, John Cremona wrote: > > > Can you say exactly which Sage version you are using, and give a > complete sequence of commands which leads to the error? > I'm using SageMath Version 6.10, Release Date: 2015-12-18. Sorry for not including this in the

Re: [sage-devel] Call to `__cmp__` method on `list` in `Factorization` class fails

2016-06-14 Thread John Cremona
Thanks for reporting ths (clearly not spam!). Can you say exactly which Sage version you are using, and give a complete sequence of commands which leads to the error? John On 14 June 2016 at 10:00, Darth Sidious wrote: > I've been using the `Factorization` class in some code I'm writing in > Sa

[sage-devel] Call to `__cmp__` method on `list` in `Factorization` class fails

2016-06-14 Thread Darth Sidious
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