-
-
Notifications
You must be signed in to change notification settings - Fork 642
Closed
Milestone
Description
The two Cython modules depend on NTL in a very minor way that could be eliminated:
-
sage.rings.integer.Integer
depends onsage.libs.ntl
to provide method_to_ZZ
. -
sage.rings.integer_ring._coerce_ZZ
depends onsage.libs.ntl
to provide the method_coerce_ZZ
.
These methods are only used in sage.libs.ntl
and in sage.rings.number_field.number_field_element
and rings.polynomial.polynomial_zz_pex
.
In this ticket, we remove these two methods and replace all uses by their definition (= 1 or 2 lines).
CC: @videlec @fchapoton @alexjbest @mezzarobba @kliem @mwageringel @tscrim
Component: refactoring
Author: Matthias Koeppe
Branch/Commit: 62e2aa9
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/29911