GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — BUG: out reference leak in PyUFunc_Accumulate and PyUFunc_Reduceat on type resolution failure · Issue #31691 · numpy/numpy Closed DescriptionBug DescriptionIn both Location
CodeBoth functions follow the same pattern: /* Take a reference to out for later returning */ Py_XINCREF(out); // line ~2745 / ~3168 PyArray_Descr *descrs[3]; PyArrayMethodObject *ufuncimpl = reducelike_promote_and_resolve(ufunc, arr, out, signature, NPY_TRUE, descrs, NPY_UNSAFE_CASTING, "accumulate"); // or "reduceat" if (ufuncimpl == NULL) { return NULL; // BUG: out's INCREF never balanced } Further down the function, the ImpactEvery time Suggested FixChange if (ufuncimpl == NULL) { goto fail; } This ensures the Environment
Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |