Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BUG: sanity check__array_interface__ number of dimensions#28449

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
charris merged 1 commit intonumpy:maintenance/2.2.xfromcharris:backport-28407
Mar 7, 2025

Conversation

@charris
Copy link
Member

Backport of#28407.

Bug fix to#27949.

  • Added a change tonumpy/_core/src/multiarray/ctors.c to avoid segmentation fault
  • added a test tonumpy/_core/tests/test_multiarray.py. If the test passes there's no longer a segmentation fault

…#28407)``__array_interface__`` should typically not have more dimensions than NumPy supports, but unlike other malformed interfaces, this should fail gracefully if someone were to pass more.
@charrischarris added 00 - Bug 08 - BackportUsed to tag backport PRs labelsMar 7, 2025
@charrischarris added this to the2.2.4 release milestoneMar 7, 2025
@charrischarris merged commit1e8a38b intonumpy:maintenance/2.2.xMar 7, 2025
67 of 70 checks passed
@charrischarris deleted the backport-28407 branchMarch 7, 2025 19:32
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

00 - Bug08 - BackportUsed to tag backport PRs

Projects

None yet

Milestone

2.2.4 release

Development

Successfully merging this pull request may close these issues.

2 participants

@charris@lvllvl

[8]ページ先頭

©2009-2025 Movatter.jp