On Tue, Jun 27, 2023 at 12:54 PM Luis Finotti <luis.f...@gmail.com
> I am getting warnings that is_MPolynomial is deprecated. The error suggests to use
> isinstance(x, sage.structure.element.MPolynomial)
> But this gives an error:
> AttributeError: module 'sage.structure.element' has no attribute 'MPolynomial'
probably a typo in deprecation message. You can ask Sage:
from sage.rings.polynomial.multi_polynomial import MPolynomial
> Looking at the referred github report (https://github.com/sagemath/sage/issues/32709
) it is suggested to use isinstance(x, MPolynomial),
> which also fails with
> NameError: name 'MPolynomial' is not defined
> So, what is the proper way now?
> 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...@googlegroups.com
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/f1d6b09d-818b-4a1f-a5b1-9641befa5ce2n%40googlegroups.com