8000 BUG: Fix PyObject_Cmp in npy_3kcompat.h. by charris · Pull Request #6386 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: Fix PyObject_Cmp in npy_3kcompat.h. #6386

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

Merged
merged 1 commit into from
Sep 29, 2015

Conversation

charris
Copy link
Member
@charris charris commented Sep 29, 2015

The old version was interpreting a PyObject_RichCompareBool return of 0
as success when it actually means failure. The fix is to replace 0 by 1.

The old version was interpreting a PyObject_RichCompareBool return of 0
as success when it actually means failure. The fix is to replace 0 by 1.
@charris charris added this to the 1.10.0 release milestone Sep 29, 2015
charris added a commit that referenced this pull request Sep 29, 2015
BUG: Fix PyObject_Cmp in npy_3kcompat.h.
@charris charris merged commit 9871ed4 into numpy:maintenance/1.10.x Sep 29, 2015
@charris charris deleted the backport-PyObject_Cmp-fix branch September 29, 2015 01:59
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.

1 participant
0