Skip to content

Conversation

@charris
Copy link
Member

@charris charris commented Dec 24, 2025

Backport of #30512.

Both the value array and iterator were missing the DECREF. Since the iterator is a temporary object, I don't really think it is particularly helpful to try to test.
Rather, it would be good to try to test with ASAN semi-regularly (or I use pytest-valgrind again, which works great but is just very very slow).

Closes gh-30508

Both the value array and iterator were missing the DECREF.
Since the iterator is a temporary object, I don't really think it is
particularly helpful to try to test.
Rather, it would be good to try to test with ASAN semi-regularly
(or I use `pytest-valgrind` again, which works great but is just very
very slow).

Closes numpygh-30508
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Dec 24, 2025
@charris charris added this to the 2.4.1 Release milestone Dec 24, 2025
@charris charris merged commit 7880335 into numpy:maintenance/2.4.x Dec 24, 2025
74 checks passed
@charris charris deleted the backport-30512 branch December 24, 2025 20:23
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