>>>
>>> 1. sage -coverage asks for a doctest of the form s == loads(dumps(s)).
>>>  As far as I can tell however, it is happy if there is one such test
>>> in a file, even if the file happens to define 20 different classes.  I
>>> would assume that we want a doctest of this form for each class
>>> definition, is that right?  If so, can/should sage -coverage be
>>> changed to indicate this?
>>
>> Yes, I think that is a bug and not having pickles of all classes will
>> cause trouble down the road. Please open a ticket.
>
> It definitely would be nice if this functionality were added.

This is now http://trac.sagemath.org/sage_trac/ticket/5819

>>> 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

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to