I don't understand how you your comment relates to the question. Of course 
I agree that the intended result (coercion in your example, or 
systematically provide methods for parents/elements on this ticket) should 
work effortlessly. The question is, how should the library implementation 
look like? We could just run the preparser over all Sage library files, but 
good reasons we do not do that. This makes the library code sometimes more 
cumbersome to write, for example 3/5 is 0 if you write it in the Sage 
library and not if you write it on the command line. IMHO the Sage library 
ought to be good (and readable) Python code first and foremost. We do (and 
should) provide domain-specific extensions for interactive use, but not for 
writing the Sage library itself.


On Saturday, March 8, 2014 10:59:03 AM UTC, fhivert wrote:
>
>     sage: K.<x> = PolynomialRing(PolynomialRing(QQ, 'y'), 'x') 
>     sage: x + 1 
>     x + 1 

Hum what's the meaning of '1' here ? 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to