Skip to content

BUG: fix type issues in uses if PyDataType macros#30918

Merged
mattip merged 1 commit intonumpy:mainfrom
ngoldbaum:fix-type-issues
Mar 4, 2026
Merged

BUG: fix type issues in uses if PyDataType macros#30918
mattip merged 1 commit intonumpy:mainfrom
ngoldbaum:fix-type-issues

Conversation

@ngoldbaum
Copy link
Copy Markdown
Member

@ngoldbaum ngoldbaum commented Mar 3, 2026

@kumaraditya303 and I ran into these working on support for the opaque PyObject build.

These PyDataType macros expect a PyArray_Descr * argument, but in all three cases happen to work because the macros use direct struct field accesses and all these structs share field names.

@ngoldbaum ngoldbaum added 00 - Bug 09 - Backport-Candidate PRs tagged should be backported labels Mar 3, 2026
@mattip mattip merged commit 9259ab7 into numpy:main Mar 4, 2026
113 of 126 checks passed
@mattip
Copy link
Copy Markdown
Member

mattip commented Mar 4, 2026

Thanks @ngoldbaum

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Mar 7, 2026
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.

3 participants