Hi I am not sure that is a bug...
sage: K = CyclotomicField(32) sage: type(Integer) <class 'sage.misc.inherit_comparison.InheritComparisonMetaclass'> sage: from sympy import * sage: type(Integer) <class 'sympy.core.assumptions.ManagedProperties'> sage: K = CyclotomicField(int(32)) sage: Regards, Jan On Fri, 18 Aug 2023 at 10:33, Александр Каренин (alexKar) < tremeloesa...@gmail.com> wrote: > As reported in > https://ask.sagemath.org/question/72642/does-sympy-break-cyclotomicfield/ > , importing sympy as > from sympy import * > and then trying to construct a CyclotomicField as > K = CyclotomicField(32) > results in an error: > TypeError: unable to coerce <class 'sympy.core.numbers.Integer'> to an > integer > This seems to be a bug. The NumberField class does not seem to be > affected. Importing sympy as: > import sympy > seems to work for me. Specs: Ubuntu 22.04. Checked on Sage 9.8 and 10.0. > > Knd regards, > Alexander > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/ed0a8b32-f9e4-415e-ad95-41796a51b4dfn%40googlegroups.com > <https://groups.google.com/d/msgid/sage-support/ed0a8b32-f9e4-415e-ad95-41796a51b4dfn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAg%3Dp_3UF7RjMb7nQdsZg%2Bqd%2BsktREEK%2Ba67pnHxsMUSgQz5Uw%40mail.gmail.com.