It's even worse:

sage: G=SymmetricGroup(8)
sage: H=SymmetricGroup(2)
sage: a=H('(1,2)')
sage: b=G('(1,2)(3,4)')
sage: a==b
True

I don't think any interpretation would suggest this behavior as
correct.  The problem is that the current compare only runs through
checking equality of the images for the two permutations as far as the
length of the first.

John's patch at Trac 5537 should correct this.  I'll have some timings
and a review up later today.

Rob


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

Reply via email to