Commit 2d7ac64
Release Manager
gh-40879: sage.rings.polynomial.polynomial_singular_interface: drop unused import
Drop the import of `sage.rings.finite_rings.finite_field_constructor`
from this file, since it is unused. I noticed this because it leads to
circular imports:
```
$ python
Python 3.13.7 (main, Aug 22 2025, 06:36:41) [GCC 15.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sage.rings.function_field.constructor import FunctionField
>>> from sage.rings.integer import Integer
>>> from sage.rings.rational_field import QQ
>>> K = FunctionField(QQ, 'x')
Traceback (most recent call last):
...
ImportError: cannot import name PolynomialRing_generic
```
(The unneccessary import from `sage.rings.integer` is due to another,
harder instance of this problem.)
URL: #40879
Reported by: Michael Orlitzky
Reviewer(s): Tobias Diez
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments