Skip to content

Conversation

@seberg
Copy link
Member

@seberg seberg commented Dec 24, 2025

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 merged commit d9e70f6 into numpy:main Dec 24, 2025
76 checks passed
@charris
Copy link
Member

charris commented Dec 24, 2025

Thanks Sebastian.

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.

BUG: memleak in iter_ass_subscript / PyArray_IterNew

2 participants