I'm trying to understand what's going on in #9940:

  sage: AdditiveAbelianGroup([0,0]) == AdditiveAbelianGroup([0,0])
  True
  sage: AdditiveAbelianGroup([0,0]) != AdditiveAbelianGroup([0,0])
  True

I think equality testing works fine, but inequality testing doesn't.
To track this down, I'd like to figure out what's happening when I
execute

  sage: AdditiveAbelianGroup([0,0]) != AdditiveAbelianGroup([0,0])

How can I tell what methods are being called when I execute this?

(Notice that AdditiveAbelianGroup inherits from FGP_Module_class and
from AbelianGroup, but instances of those classes each seem to behave
well with inequality.  So I'm very confused right now.)

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