On 9/1/10 7:25 PM, David Roe wrote:

P.S.  To find an example of two parents which currently compare as equal but
are not the same object, do
sage: R = Zp(5, print_sep="|")
sage: S = Zp(5, print_sep=":")
sage: R == S
True
sage: R is S
False


Carl Witty commented on a similar issue in printing in the RealField code, and I think he has a very good point. Printing defaults should not be stored in the parent, but instead should be something like a module-level option that can be freely set and changed. See http://trac.sagemath.org/sage_trac/ticket/7682 (except that Trac doesn't seem to want to display the ticket right now).

Thanks,

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to