>>>> 3. as I mentioned, I looked in rings/morphism.pyx for inspiration; >>>> this helped, but not enough so I tried >>>> sage: f = ZZ.hom(QQ) >>>> sage: g = loads(dumps(f)) >>>> sage: f == g >>>> False >>>> >>>> Shouldn't this return True? >> >> Yes >> >>>> Shouldn't a test like this be somewhere >>>> in rings/morphism.pyx? >> >> Yes. >> > > This is now http://trac.sagemath.org/sage_trac/ticket/5820 >
And there is now a fairly trivial patch solving this at http://trac.sagemath.org/sage_trac/ticket/5820 -- Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne -- Australia -- http://www.ms.unimelb.edu.au/~aghitza/ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---