Skip to content
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

BUG: ensure passing np.dtype to itself doesn't crash #25121

Merged
merged 1 commit into from Nov 12, 2023

Conversation

charris
Copy link
Member

@charris charris commented Nov 12, 2023

Backport of #25042.

Happy to implement other approaches but adding a check just before the crash happens seemed simplest.

Fixes #25031.

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Nov 12, 2023
@charris charris added this to the 1.26.2 release milestone Nov 12, 2023
@charris charris merged commit d81f0ae into numpy:maintenance/1.26.x Nov 12, 2023
59 of 62 checks passed
@charris charris deleted the backport-25042 branch November 12, 2023 02:10
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.

None yet

2 participants