Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
array_contains
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
Contains misses the error check for any failing:
any
any = PyArray_Any((PyArrayObject *)res, NPY_MAXDIMS, NULL); Py_DECREF(res); ret = PyObject_IsTrue(any); Py_DECREF(any);
This leads to a segfault with objects that do not have a truthiness defined, as seen in pandas: pandas-dev/pandas#31922
The text was updated successfully, but these errors were encountered:
ndarray.__contains__
BUG: Added missing error check in ndarray.__contains__ (gh-15553)
491f41a
Addes missing check for NULL return. resolves #15552 resolves pandas-dev/pandas#31922
BUG: Added missing error check in ndarray.__contains__ (numpygh-15553)
e0f1cc1
Addes missing check for NULL return. resolves numpy#15552 resolves pandas-dev/pandas#31922
Successfully merging a pull request may close this issue.
Contains misses the error check for
any
failing:This leads to a segfault with objects that do not have a truthiness defined, as seen in pandas:
pandas-dev/pandas#31922
The text was updated successfully, but these errors were encountered: