Skip to content

BUG: Check for exception in sort functions, add tests #9744

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 22, 2017

Conversation

charris
Copy link
Member

@charris charris commented Sep 22, 2017

Backport of #9412.

fixes #9404 by checking if exception occurred and returning appropriate value

Test added. Old behaviour was to emit a warning during the call to array_sort, and not
clear the exception, which would be raised at some other call to a C-API function.

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Sep 22, 2017
@charris charris added this to the 1.13.2 release milestone Sep 22, 2017
@charris charris merged commit 791b7e2 into numpy:maintenance/1.13.x Sep 22, 2017
@charris charris deleted the backport-9412 branch September 22, 2017 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug 08 - Backport Used to tag backport PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants