Skip to content

Investigate impact of rejecting sparse inputs in get_namespace #29470

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

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Jul 11, 2024

This is a draft PR to see the list of things that break if we consistently reject sparse inputs in get_namespace (whether or not array_api_dispatch is enabled).

This is based on the minimal fix for check_array submitted independently under #29469 as an alternative to #29466. See discussion in #29466 for context.

Note: I already updated check_non_negative as part of this PR but not type_of_target because it's much more involved.

But first let's run the CI to find other cases.

@ogrisel ogrisel changed the title Investigate impact of rejecting sparse inputs in get namespace Investigate impact of rejecting sparse inputs in get_namespace Jul 11, 2024
Copy link

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: cf21705. Link to the linter CI: here

@ogrisel
Copy link
Member Author

ogrisel commented Jul 11, 2024

Closing since the purpose of this PR was to trigger a single CI run to identify all occurrences of this pattern in the current state of our code base.

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.

1 participant