sagemath/sage

Clear out __init__.py in sage.rings.polynomial

Closed this issue · 8 comments

sage.rings.polynomial (and all of sage.rings) has lots of Cython modules that depend on various C/C++ libraries and will have to go into different distribution packages (#29705, #32501).

Thus we need to clear out __init__.py, which currently contains a workaround added in #25848 ("Some preparations for binding=True") in preparation for #22747/#26254. As this effort has stalled, we remove this workaround; a new solution can be found when #26254 gains traction again.

CC: @fchapoton @tscrim @kwankyu

Component: refactoring

Author: Matthias Koeppe

Branch/Commit: c41e11c

Reviewer: Marc Mezzarobba

Issue created by migration from https://trac.sagemath.org/ticket/32509

Author: Matthias Koeppe

Commit: c41e11c

New commits:

c41e11csrc/sage/rings/polynomial/__init__.py: Remove cyclic-import workaround, not needed currently

Reviewer: Marc Mezzarobba

comment:3

Looks like a trivial change that won't hurt.

comment:4

Thanks.