On May 10, 4:19 pm, Keshav Kini <keshav.k...@gmail.com> wrote: > It seems like a reasonable feature request (or bug fix if you want to > call it that) to me. I made a ticket on the bug tracker - it's up > athttp://trac.sagemath.org/sage_trac/ticket/12939. If someone does come > up with a reason why this is a bad idea, we can always invalidate the > ticket...
Since multivariate polynomials accept their arguments also "unpacked" there is a workaround that works in all cases: Pu.<x>=QQ[] Pm.<y>=PolynomialRing(QQ,1,'y') P2.<u,v>=QQ[] x(*[1]) y(*[1]) u(*[1,2]) looking at it from this perspective, it's not so much that univariate polynomials are missing a feature, but more that multivariate polynomials have an unnecessary feature: Their call also accepts a list. In fact, if you look at u.__call__?, you'll see that the syntax u([1,2]) is not doctested! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org