8000 BUG: Avoid intp conversion regression in Cython 3 (backport) · numpy/numpy@af2c4cf · GitHub
[go: up one dir, main page]

Skip to content

Commit af2c4cf

Browse files
committed
BUG: Avoid intp conversion regression in Cython 3 (backport)
This is the minimal backport version of gh-25094, which simply aligns the Cython 2 and Cython 3 definitions.
1 parent 82d7657 commit af2c4cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/__init__.cython-30.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cdef extern from *:
2121

2222

2323
cdef extern from "Python.h":
24-
ctypedef Py_ssize_t Py_intptr_t
24+
ctypedef int Py_intptr_t
2525

2626
cdef extern from "numpy/arrayobject.h":
2727
ctypedef Py_intptr_t npy_intp

0 commit comments

Comments
 (0)
0