Hello, I am trying to speed up the creation of polynomial rings. Doing so, I rewrote most of the factory PolynomialRing and I do have a question. What should we do with
sage: R.<x,y,z> = PolynomialRing(QQ, 'xyz') or sage: R.<x,y,z> = PolynomialRing(QQ, 'abc') I see two reasonable options: 1 - raise a ValueError saying that the variable names are specified twice 2 - ignore the duplication if the number of elements matches in which case we choose the one from the not named argument (i.e. respectively x,y,z and a,b,c in the examples above). The current situation is a bug to me sage: R.<x,y,z> = PolynomialRing(QQ,'abc') sage: (x, y, z) (x, y, z) I am in favor of 1. But if anybody has arguments for 2 or something else please tell me. Cheers, Vincent -- 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.