Re: [sage-devel] Re: containment in a set different from containment in a set - help needed

2022-12-13 Thread 'Travis Scrimshaw' via sage-devel
> I must admit that I do not understand the philosophy. > Which part? > > But apart from that: for classes inheriting from ClonableArray, which have > to implement equality (because there is no coercion to a common parent), do > they have to implement _richcmp_ or __richcmp__ or _eq_ or __eq

Re: [sage-devel] Re: containment in a set different from containment in a set - help needed

2022-12-13 Thread 'Martin R' via sage-devel
https://trac.sagemath.org/ticket/34824 has a green bot, please review! On Tuesday, 13 December 2022 at 10:03:20 UTC+1 Martin R wrote: > I must admit that I do not understand the philosophy. > > But apart from that: for classes inheriting from ClonableArray, which have > to implement equality (be

Re: [sage-devel] Re: containment in a set different from containment in a set - help needed

2022-12-13 Thread 'Martin R' via sage-devel
I must admit that I do not understand the philosophy. But apart from that: for classes inheriting from ClonableArray, which have to implement equality (because there is no coercion to a common parent), do they have to implement _richcmp_ or __richcmp__ or _eq_ or __eq__? (The amount of magic i