I'm completely confused about the following behavior:

sage: G = AdditiveAbelianGroup([0,0])
sage: H = AdditiveAbelianGroup([0,0])
sage: G == H
True
sage: G != H
True
sage: G < H
True
sage: H < G
False

I can't figure out what's causing this; one guess is that it's from
_richcmp in sage/structure/parent_old.pyx.  Instances of the
AdditiveAbelianGroup class are almost the same as instances of
FGP_Module_class, but comparisons for those seem to work okay.

Can anyone help with this?  I'm stuck, and this needs to be fixed: see
<http://trac.sagemath.org/sage_trac/ticket/9940>.

--
John

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to