Re: [sage-devel] "!=" is different from "not ==" for permutation groups

2020-04-30 Thread 'Reimundo Heluani' via sage-devel
On Apr 30, Vincent Delecroix wrote: Your fix looks good Reimundo. Could you open a ticket and post the number in this thread? Sure, it's here: https://trac.sagemath.org/ticket/29624#ticket Cheers, R. Vincent Le 29/04/2020 à 19:54, 'Reimundo Heluani' via sage-devel a écrit : On Apr 29,

Re: [sage-devel] "!=" is different from "not ==" for permutation groups

2020-04-30 Thread Vincent Delecroix
Your fix looks good Reimundo. Could you open a ticket and post the number in this thread? Vincent Le 29/04/2020 à 19:54, 'Reimundo Heluani' via sage-devel a écrit : On Apr 29, Dennis Epple wrote: Hello, "!=" does not seem to work for permutation groups. sage: G = SymmetricGroup(2) sage: H =

Re: [sage-devel] "!=" is different from "not ==" for permutation groups

2020-04-29 Thread 'Reimundo Heluani' via sage-devel
On Apr 29, Dennis Epple wrote: Hello, "!=" does not seem to work for permutation groups. sage: G = SymmetricGroup(2) sage: H = PermutationGroup([(1,2)]) sage: not G == H False sage: G != H True It seems it's in the richcmp method of PermutationGroup_generic. The following diff fixes this parti

[sage-devel] "!=" is different from "not ==" for permutation groups

2020-04-29 Thread Dennis Epple
Hello, "!=" does not seem to work for permutation groups. sage: G = SymmetricGroup(2) sage: H = PermutationGroup([(1,2)]) sage: not G == H False sage: G != H True sage: G = PermutationGroup([(1,2)]) sage: H = PermutationGroup([(1,2)]) sage: not G == H False sage: G != H True sage: G = SymmetricGr