Skip to content

[WIP][Python] Unify maps used for numpy to cpp conversion #19321

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

siliataider
Copy link
Contributor

This Pull request:

Warning

This PR is still under development. I am opening it as a draft to see if this small refactoring breaks a lot of tests, before moving forward with broader changes.

Currently, multiple dictionaries for mapping numpy dtypes to C++ types exist, such as:

The goal is to address some of the inconsistencies by refactoring the existing maps into one clear set of types allowed for conversion between NumPy and c++.

This PR fixes #18390

Copy link

github-actions bot commented Jul 9, 2025

Test Results

    20 files      20 suites   3d 10h 35m 19s ⏱️
 3 275 tests  3 265 ✅ 0 💤  10 ❌
63 846 runs  63 723 ✅ 0 💤 123 ❌

For more details on these failures, see this check.

Results for commit b016053.

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.

Better establish type conversion between numpy and C++ types
1 participant