I am not sure if this is a bug or an unexpected bud valid behavior,
since we are dealing with conversions instead of coercions.

{{{
sage: K1=PolynomialRing(QQ, 't',10, order=TermOrder('degrevlex', 4) +
TermOrder('degrevlex', 6) )
sage: K2=PolynomialRing(ZZ, 't',10)
sage: [K2(f) for f in K1.gens()]
[t6, t7, t8, t9, t2, t2, t0*t2, t1*t2, t2, t2]
}}}

If K2 has the same termorder as K1 I get the expected result.

{{{
sage: K2=PolynomialRing(ZZ, 't',10, order=TermOrder('degrevlex',
4)+TermOrder('degrevlex',6))
sage: [K2(f) for f in K1.gens()]
[t0, t1, t2, t3, t4, t5, t6, t7, t8, t9]
}}}

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