8000 Merge pull request #8304 from charris/backport-8302 · numpy/numpy@da6bdf4 · GitHub
[go: up one dir, main page]

Skip to content

Commit da6bdf4

Browse files
authored
Merge pull request #8304 from charris/backport-8302
BUG: Fix PyPy crash in PyUFunc_GenericReduction.
2 parents 068ce97 + 2d10826 commit da6bdf4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

numpy/core/src/umath/ufunc_object.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3906,7 +3906,6 @@ PyUFunc_GenericReduction(PyUFuncObject *ufunc, PyObject *args,
39063906
}
39073907
/* Until removed outright by https://github.com/numpy/numpy/pull/8187 */
39083908
if (bad_keepdimarg != NULL) {
3909-
Py_DECREF(bad_keepdimarg);
39103909
if (DEPRECATE_FUTUREWARNING(
39113910
"keepdims argument has no effect on accumulate, and will be "
39123911
"removed in future") < 0) {

0 commit comments

Comments
 (0)
0