Skip to content

BUG: Fix extra decref of PyArray_UInt8DType.#27479

Merged
charris merged 1 commit intonumpy:maintenance/2.1.xfrom
charris:backport-27478
Sep 30, 2024
Merged

BUG: Fix extra decref of PyArray_UInt8DType.#27479
charris merged 1 commit intonumpy:maintenance/2.1.xfrom
charris:backport-27478

Conversation

@charris
Copy link
Member

@charris charris commented Sep 30, 2024

Backport of #27478.

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.

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.
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Sep 30, 2024
@charris charris added this to the 2.1.2 release milestone Sep 30, 2024
@charris charris merged commit 9c45406 into numpy:maintenance/2.1.x Sep 30, 2024
@charris charris deleted the backport-27478 branch September 30, 2024 17:06
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