Here's something I find really confusing about additive abelian groups: sage: H = AdditiveAbelianGroup([0,2]) sage: H((2,0)) (0, 0) sage: H(vector((2,0))) (2, 0)
sage: H((1,0)).order() 2 sage: H(vector((1,0))).order() +Infinity This is terrible, and a symptom of what Nathann wants to fix. It should be fixed. John On Monday, April 28, 2014 8:27:45 AM UTC-7, Nathann Cohen wrote: > > > Moreover, how are you going to deprecate it? When is a deprecation > warning > > shown? > > Ahahahah. That's an interesting question, but the current way being > bad, there is absolutely no way that it will stay like that forever > just because we don't know how to tell the users :-D > > I had something a bit unpleasant in mind... Just showing a deprecation > warning in this __call__ function saying that the standard WILL > change, and doing nothing... And removing the lines we need to remove > one year from now. > > 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
