Skip to content

API: include dtype classes in code gen, C API hash - #32785

Open
ngoldbaum wants to merge 1 commit into
numpy:mainfrom
ngoldbaum:dtype-class-code-gen
Open

ngoldbaum wants to merge 1 commit into
numpy:mainfrom
ngoldbaum:dtype-class-code-gen

Conversation

@ngoldbaum

@ngoldbaum ngoldbaum commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

PR summary

I tried adding the new ByteStringDType dtypemeta to the C API and noticed that the hash didn't need to change. This sent me down a rabbit hole, producing this. With this PR the DType types are now included in the codegen (and thus the C API hash).

This nicely enables us to delete the two duplicate listings we currently need to maintain.

This should be purely a refactor. I marked this as an API change because it touches the cversions.txt hash.

AI Disclosure

I iterated on this with an AI

@ngoldbaum ngoldbaum added 30 - API 63 - C API Changes or additions to the C API. Mailing list should usually be notified. labels Sep 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

30 - API 63 - C API Changes or additions to the C API. Mailing list should usually be notified.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant