Skip to content

BUG: Fix shape error path in array-interface #29350

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
Jul 9, 2025

Conversation

seberg
Copy link
Member

@seberg seberg commented Jul 9, 2025

Avoids crash on missing shape. Not a big issue overall, since the array-interface can always cause crashes and this is a bad interface. But also nice to tell users why it is a bad interface.

Backport of the bug-fix in gh-29338

Avoids crash on missing shape.  Not a big issue overall, since the
array-interface can always cause crashes and this is a bad interface.
But also nice to tell users why it is a bad interface.
@seberg seberg added 00 - Bug 08 - Backport Used to tag backport PRs labels Jul 9, 2025
@charris charris merged commit 20d973c into numpy:maintenance/2.3.x Jul 9, 2025
75 checks passed
@charris
Copy link
Member

charris commented Jul 9, 2025

Thanks Sebastian.

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