Skip to content

Commit b655bed

Browse files
author
Release Manager
committed
gh-36605: Replace relative imports by absolute ones in `sage.libs.ntl` <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> This is for #36228 <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36605 Reported by: Tobias Diez Reviewer(s): Matthias Köppe
2 parents 2230ce2 + 446f5a2 commit b655bed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+75
-74
lines changed

src/sage/libs/ntl/GF2.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .types cimport GF2_c
1+
from sage.libs.ntl.types cimport GF2_c
22

33

44
cdef extern from "ntlwrap.h":

src/sage/libs/ntl/GF2E.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .types cimport GF2E_c, GF2X_c, GF2_c, GF2XModulus_c, ZZ_c
1+
from sage.libs.ntl.types cimport GF2E_c, GF2X_c, GF2_c, GF2XModulus_c, ZZ_c
22

33

44
cdef extern from "ntlwrap.h":

src/sage/libs/ntl/GF2EX.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .types cimport GF2EX_c
1+
from sage.libs.ntl.types cimport GF2EX_c
22

33

44
cdef extern from "ntlwrap.h":

src/sage/libs/ntl/GF2X.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from .types cimport GF2X_c, GF2_c, GF2XModulus_c, vec_GF2_c, ZZ_c
1+
from sage.libs.ntl.types cimport GF2X_c, GF2_c, GF2XModulus_c, vec_GF2_c, ZZ_c
22

33

44
cdef extern from "ntlwrap.h":

src/sage/libs/ntl/ZZ.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# distutils: depends = NTL/ZZ.h
22

3-
from .types cimport ZZ_c
3+
from sage.libs.ntl.types cimport ZZ_c
44

55

66
cdef extern from "ntlwrap.h":

src/sage/libs/ntl/ZZX.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# distutils: depends = NTL/ZZ.h
22

33
from sage.libs.gmp.types cimport mpz_t
4-
from .types cimport ZZ_c, vec_ZZ_c, ZZX_c
4+
from sage.libs.ntl.types cimport ZZ_c, vec_ZZ_c, ZZX_c
55

66

77
cdef extern from *:

src/sage/libs/ntl/ZZ_p.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# distutils: depends = NTL/ZZ.h
22

3-
from .types cimport ZZ_c, ZZ_p_c
3+
from sage.libs.ntl.types cimport ZZ_c, ZZ_p_c
44

55

66
cdef extern from "ntlwrap.h":

src/sage/libs/ntl/ZZ_pE.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# distutils: depends = NTL/ZZ.h
22

3-
from .types cimport ZZ_c, ZZ_p_c, ZZ_pX_c, ZZ_pE_c
3+
from sage.libs.ntl.types cimport ZZ_c, ZZ_p_c, ZZ_pX_c, ZZ_pE_c
44

55

66
cdef extern from "ntlwrap.h":

src/sage/libs/ntl/ZZ_pEX.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# distutils: depends = NTL/ZZ.h
22

3-
from .types cimport (ZZ_c, ZZ_p_c, ZZ_pContext_c, ZZ_pE_c, vec_ZZ_p_c,
3+
from sage.libs.ntl.types cimport (ZZ_c, ZZ_p_c, ZZ_pContext_c, ZZ_pE_c, vec_ZZ_p_c,
44
vec_ZZ_pE_c, ZZ_pEX_c, ZZ_pEX_Modulus_c)
55

66

src/sage/libs/ntl/ZZ_pX.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# distutils: depends = NTL/ZZ.h
22

3-
from .types cimport (ZZ_c, ZZX_c, ZZ_p_c, vec_ZZ_p_c, ZZ_pContext_c,
3+
from sage.libs.ntl.types cimport (ZZ_c, ZZX_c, ZZ_p_c, vec_ZZ_p_c, ZZ_pContext_c,
44
ZZ_pX_c, ZZ_pX_Modulus_c, ZZ_pX_Multiplier_c)
55

66

0 commit comments

Comments
 (0)