8000 The PyArray_SearchSorted function has wrong signature in ``__init__.pxd`` · Issue #16219 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

The PyArray_SearchSorted function has wrong signature in __init__.pxd #16219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
charris opened this issue May 12, 2020 · 2 comments · Fixed by #16223
Closed

The PyArray_SearchSorted function has wrong signature in __init__.pxd #16219

charris opened this issue May 12, 2020 · 2 comments · Fixed by #16223

Comments

@charris
Copy link
Member
charris commented May 12, 2020

See comment at #12284 (comment).

Reproducing code example:

import numpy as np
<< your code here >>

Error message:

Numpy/Python version information:

@jbrockmendel
Copy link
Contributor

just opened cython/cython#3606 in cython

@mattip
Copy link
Member
mattip commented May 13, 2020

From the comment:

Since 2012 it has been PyArray_SearchSorted(ndarray, object, NPY_SEARCHSIDE, object)

The changeset was 313fe46, which was made (before we started using PRs) after Cython built the __init__.pxd file in 2009, and the change was never reflected into the __init__.pxd.

6C27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
0