Skip to content

MAINT: Remove unhelpful error replacements from import_array()#24972

Merged
rgommers merged 1 commit intonumpy:maintenance/1.26.xfrom
charris:backport-24958
Oct 21, 2023
Merged

MAINT: Remove unhelpful error replacements from import_array()#24972
rgommers merged 1 commit intonumpy:maintenance/1.26.xfrom
charris:backport-24958

Conversation

@charris
Copy link
Member

@charris charris commented Oct 21, 2023

Backport of #24958.

Replacing the original error is just not useful and actively unhelpful since the original array may have more information.

We could chain the error, but there seems little reason to do so.

Replacing the original error is just not useful and actively unhelpful
since the original array may have more information.

We could chain the error, but there seems little reason to do so.
@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs labels Oct 21, 2023
@charris charris added this to the 1.26.2 release milestone Oct 21, 2023
@rgommers rgommers merged commit 9d6694e into numpy:maintenance/1.26.x Oct 21, 2023
@charris charris deleted the backport-24958 branch October 21, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

03 - Maintenance 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants