Salut Vincent! On Mon, Apr 20, 2015 at 11:39:27AM +0200, Vincent Delecroix wrote: > On 20/04/15 04:54, David Roe wrote: > >On Sun, Apr 19, 2015 at 10:18 AM, Volker Braun <vbraun.n...@gmail.com> > >wrote: > > > >>I agree, coercion G -> M is probably the right thing to do here. > >> > >+1 > > Thanks for your support! I opened #18258.
Though note that doing equality up to coercion has drawbacks; in particular since it can easily break Python's specification that two equal objects shall have the same hash. http://wiki.sagemath.org/EqualityCoercion In the case at hand, it might be possible to guarantee that the hash is preserved upon coercion, so that could be ok. Cheers, Nicolas -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.