Ahahaah. While writing that code, I met an infinite loop. Apparently
testing if an element of a group is equal to +infinity calls
__repr__... :-P

Nathann

On 28 April 2014 18:16, Nathann Cohen <nathann.co...@gmail.com> wrote:
>> Showing a deprecation warning for valid input isn't ideal ;-)
>
> Indeed, indeed. Right now it prints the following input, which I hope
> will be taken seriously by those who should, and be ignored by those
> who should :
>
> sage: x = A([5]); x
> doctest:1: DeprecationWarning: The default behaviour changed ! If you
> *really* want a linear combination of smith generators, use
> .linear_combination_of_smith_form_gens.
> See http://trac.sagemath.org/16261 for details.
>
>> How about we deprecate all list/tuple input and force the user to use
>> G.linear_combination_of_smith_form_gens / G.linear_combination_of_gens.
>
> Well... It's more proper, but it does look a bit too extreme... :-/
>
> Nathann

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

Reply via email to