Skip to content

Conversation

charris
Copy link
Member

@charris charris commented Oct 15, 2024

Backport of #27567.

Follow up to #27566 where @charris noted the PyTraceMalloc_Track call can fail with -1 if there is no memory to allocate tracking information. There was also a missing Untrack call in the memory handler realloc routine.

I touched up the documentation around the API functions PyDataMem_* which still called them macros, but they are now functions.

@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Oct 15, 2024
@charris charris added this to the 2.1.3 release milestone Oct 15, 2024
@charris charris merged commit 1593df2 into numpy:maintenance/2.1.x Oct 15, 2024
65 checks passed
@charris charris deleted the backport-27567 branch October 15, 2024 20:39
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