Does sympy break CyclotomicField?
One can define a cyclotomic field as CyclotomicField(16)
for example. But the code below crashes:
from sympy import *
CyclotomicField(16)
...
File ~/Soft/sage/src/sage/rings/integer.pyx:714, in sage.rings.integer.Integer.__init__()
712 return
713
--> 714 raise TypeError("unable to coerce %s to an integer" % type(x))
715
716 def __reduce__(self):
TypeError: unable to coerce <class 'sympy.core.numbers.Integer'> to an integer
Am I doing something wrong? Is my sage broken? I would like to use sympy and CyclotomicField in the same program. Specs: Sage 9.8, 10.0, Ubuntu 22.04.
It's reproducible in https://sagecell.sagemath.org Please file a bug report.