Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: Enforce integer limitation in concatenate #29231

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 2 commits into from
Jun 19, 2025
Merged

Conversation

seberg
Copy link
Member

@seberg seberg commented Jun 19, 2025

Concatenate internals only deal with integer many arrays, that should be fine in practice, but a SystemError (or in principle maybe also a harder crash?) is not really.

Concatenate internals only deal with integer many arrays, that
should be fine in practice, but a SystemError (or in principle
maybe also a harder crash?) is not really.
@seberg
Copy link
Member Author

seberg commented Jun 19, 2025

Failure is spurious, see gh-29232

Copy link
Member

@ngoldbaum ngoldbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking closer at the SystemError in the resize issue. This looks correct to me.

@ngoldbaum
Copy link
Member

Did you intentionally leave off the backport-candidate label? Seems worth a backport.

@seberg seberg added the 09 - Backport-Candidate PRs tagged should be backported label Jun 19, 2025
@seberg
Copy link
Member Author

seberg commented Jun 19, 2025

No, small and safe enough to backport for sure.

@charris charris merged commit 7b30ce7 into numpy:main Jun 19, 2025
81 of 82 checks passed
@charris
Copy link
Member

charris commented Jun 19, 2025

Thanks Sebastian.

charris pushed a commit to charris/numpy that referenced this pull request Jun 19, 2025
* BUG: Enforce integer limitation in concatenate

Concatenate internals only deal with integer many arrays, that
should be fine in practice, but a SystemError (or in principle
maybe also a harder crash?) is not really.

* skip 32bit systems
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jun 19, 2025
@seberg seberg deleted the concat-error branch June 19, 2025 15:33
charris added a commit that referenced this pull request Jun 19, 2025
BUG: Enforce integer limitation in concatenate (#29231)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants