Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 28, 2025

Conversation

charris
Copy link
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
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
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
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