Hi there, I've submitted the patch
http://trac.sagemath.org/sage_trac/ticket/1816 to trac and Nick refereed it. The patch implements that if a multivariate polynomial ring is 'print'ed the output is quite verbose and structured. This behavior was in repr_long() before. EXAMPLE: {{{ sage: P.<x,y,z> = PolynomialRing(QQ,order=TermOrder('degrevlex',1)+TermOrder('lex',2)) sage: print P Multivariate Polynomial Ring Base Ring : Rational Field Size : 3 Variables Block 0 : Ordering : degrevlex Names : x Block 1 : Ordering : lex Names : y, z }}} Nick writes: "That's *not* okay -- way too much by default" but I disagree. The motivation for adding more (structured) information to the long representation came from the similar behavior of symbolic expressions: EXAMPLE: {{{ sage: f = x/var('y') sage: f x/y sage: str(f) ' x\r\n -\r\n y' sage: print f x - y }}} Thus I figured it would be okay to have long representations returned by __str__. The question now is, how others think about it. Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www: http://www.informatik.uni-bremen.de/~malb _jab: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---