Re: [sage-devel] Re: Inequalities in Z/nZ

2019-02-28 Thread E. Madison Bray
On Thu, Feb 28, 2019 at 12:14 AM Nils Bruin wrote: > > On Wednesday, February 27, 2019 at 2:17:06 PM UTC-8, John H Palmieri wrote: >> >> Why does Sage allow inequalities in Z/nZ? > > > I'm pretty sure that it's a historical artifact from Python 2, where > inequality relations exist between

[sage-devel] Re: Inequalities in Z/nZ

2019-02-27 Thread John H Palmieri
On Wednesday, February 27, 2019 at 3:14:53 PM UTC-8, Nils Bruin wrote: > > On Wednesday, February 27, 2019 at 2:17:06 PM UTC-8, John H Palmieri wrote: >> >> Why does Sage allow inequalities in Z/nZ? >> > > I'm pretty sure that it's a historical artifact from Python 2, where > inequality

[sage-devel] Re: Inequalities in Z/nZ

2019-02-27 Thread Nils Bruin
On Wednesday, February 27, 2019 at 2:17:06 PM UTC-8, John H Palmieri wrote: > > Why does Sage allow inequalities in Z/nZ? > I'm pretty sure that it's a historical artifact from Python 2, where inequality relations exist between nearly all objects, because "cmp" is 3-valued. None of the usual