Skip to content
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

BUG: Fix PyPy crash in PyUFunc_GenericReduction. #8302

Merged
merged 1 commit into from
Nov 23, 2016
Merged

BUG: Fix PyPy crash in PyUFunc_GenericReduction. #8302

merged 1 commit into from
Nov 23, 2016

Conversation

mattip
Copy link
Member

@mattip mattip commented Nov 23, 2016

The cause is an unneeded Py_DECREF which is harmless in CPython but causes a crash in PyPy.

@charris charris changed the title BUG: in PyArg_ParseTupleAndKeywords, O passes the PyObject through BUG: Fix PyPy crash in PyUFunc_GenericReduction. Nov 23, 2016
@charris
Copy link
Member

charris commented Nov 23, 2016

LGTM. For future reference, please try to keep the lines in your commit messages < 72 characters in length. Also Note that the summary line does not summarize the commit at all, it is simply an observation about PyArg_ParseTupleAndKeywords.

@charris charris merged commit 2075e1f into numpy:master Nov 23, 2016
@charris
Copy link
Member

charris commented Nov 23, 2016

Thanks @mattip .

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

Successfully merging this pull request may close these issues.

None yet

2 participants