This still does not work in Sage version 8.7.beta7. I have created a ticket located at
https://trac.sagemath.org/ticket/27483 Best regards, Le lundi 5 novembre 2018 18:55:25 UTC+1, john_perry_usm a écrit : > > This code works in Sage 8.3, but not in Sage 8.4. > > P.<x,y,z> = PolynomialRing(QQ) > I = Ideal([x^3, x*y^2, y^4, x^2*y*z, y^3*z, x^2*z^2, x*y*z^2, x*z^3]) > I.hilbert_polynomial() > > I haven't yet dug into the cause, but the error it reports is, > > AttributeError: 'sage.rings.rational.Rational' object has no > attribute 'leading_coefficient' > > > -- 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 https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.