sage: F0. = FunctionField(QQ)
sage: R. = F0[]
sage: F. = F0.extension(y^2-x^3-x)
sage: Y = SmoothProjectiveCurve(F)
gives the error message
ImportError: cannot import name 'RationalFunctionField' from 'sage.rings.function_field.function_field' (/home/stefan/code/sage/sage/src/sage/rings/function_field/function_field.py)
The problem is the line
assert isinstance(F, RationalFunctionField)
in "smooth_projective_curves.py".
As a preliminary fix, I would just remove this line. But what would the good solution be here?
In Sage 10.4,
sage: F0. = FunctionField(QQ)
sage: R. = F0[]
sage: F. = F0.extension(y^2-x^3-x)
sage: Y = SmoothProjectiveCurve(F)
gives the error message
ImportError: cannot import name 'RationalFunctionField' from 'sage.rings.function_field.function_field' (/home/stefan/code/sage/sage/src/sage/rings/function_field/function_field.py)
The problem is the line
assert isinstance(F, RationalFunctionField)
in "smooth_projective_curves.py".
As a preliminary fix, I would just remove this line. But what would the good solution be here?