On Thu, Mar 08, 2012 at 11:33:28AM -0300, Vincent Delecroix wrote:
> At no point Sage is doing conversion. Sage parser (and then the
> interpreter) interprets numbers,like 4, as a Sage Integer. It applies
> also for ".sage" files for which sage interpreter is used. But if you
> write 4 in a py file
Hello,
> wrote:
>> Hmm, more cans of worms ... I definitely want the elements of
>> IntegerRange(5) to be Sage integers:
>>
>> sage: IntegerRange(3).an_element().parent()
>> Integer Ring
>>
>> Now the coercion int->Integer is so straightforward that I could be
>> convinced to accep
On Mar 7, 3:04 pm, "Nicolas M. Thiery"
wrote:
> Hmm, more cans of worms ... I definitely want the elements of
> IntegerRange(5) to be Sage integers:
>
> sage: IntegerRange(3).an_element().parent()
> Integer Ring
>
> Now the coercion int->Integer is so straightforward that I could b