Skip to content

TYP: fix void arrays not accepting str keys in __setitem__#28055

Merged
charris merged 1 commit intonumpy:maintenance/2.2.xfrom
charris:backport-28053
Dec 22, 2024
Merged

TYP: fix void arrays not accepting str keys in __setitem__#28055
charris merged 1 commit intonumpy:maintenance/2.2.xfrom
charris:backport-28053

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Dec 22, 2024

Backport of #28053.

ref: #27967 (comment)

This fixes a regression in numpy == 2.2.1 that's causing a["key"] = ... to be falsely rejected with a: NDArray[np.void].

@jorenham
Copy link
Copy Markdown
Member

Thanks for the quick response @charris

@charris charris merged commit 1113ec1 into numpy:maintenance/2.2.x Dec 22, 2024
@charris charris deleted the backport-28053 branch December 22, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants