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

Appearance settings

BUG: Fix extra decref of PyArray_UInt8DType. #27478

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
Sep 30, 2024
Merged

Conversation

hawkinsp
Copy link
Contributor

@hawkinsp hawkinsp commented Sep 30, 2024

We didn't take a reference to this type, so we shouldn't be freeing one. This appears to have been missed by PR #25329.

This was found to cause segfaults when running Google-internal tests under NumPy 2.1.

@ngoldbaum

We didn't take a reference to this type, so we shouldn't be freeing one.
This appears to have been missed by PR numpy#25329.
@seberg seberg added the 09 - Backport-Candidate PRs tagged should be backported label Sep 30, 2024
@seberg
Copy link
Member

seberg commented Sep 30, 2024

Thanks @hawkinsp, nice find.

@seberg seberg merged commit b9ba526 into numpy:main Sep 30, 2024
68 checks passed
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Sep 30, 2024
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.