Skip to content

BUG: handle case in mapiter where descriptors might get replaced (#29286)#29287

Merged
charris merged 2 commits intonumpy:maintenance/2.3.xfrom
charris:backport-29286
Jun 28, 2025
Merged

BUG: handle case in mapiter where descriptors might get replaced (#29286)#29287
charris merged 2 commits intonumpy:maintenance/2.3.xfrom
charris:backport-29286

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Jun 28, 2025

Backport of #29286.

Need to use the actual dtype, not the one passed to the array creation (because it can get replaced).

Fixes #29279.

…py#29286)

Need to use the actual dtype, not the one passed to the array creation (because it can get replaced).

Fixes numpy#29279.
@charris charris added this to the 2.3.2 release milestone Jun 28, 2025
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jun 28, 2025
#endif
#endif
#ifndef USE_ALLOC_CACHE
#define USE_ALLOC_CACHE 1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, thanks for fixing this warning! Is this already in main?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No :) I fixed it because the 3.13t smoke test was failing, which was new.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR incoming.

@charris charris merged commit ae1ddd4 into numpy:maintenance/2.3.x Jun 28, 2025
74 checks passed
@charris charris deleted the backport-29286 branch June 28, 2025 14:49
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.

3 participants