Skip to content
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

feat!: rename "max rank" to "max dimensions" in capabilities() #809

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

asmeurer
Copy link
Member

See #763 (comment). "Rank" is an ambiguous term and "dimensions" is clearer. Although other names like "max ndims" would also be OK.

This is an unreleased API, and it's new in all implementations, so there should not be a concern with renaming it.

Copy link
Contributor

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. This change was discussed in workgroup meetings and was considered any improvement over the current state. And as no other suggestions for the rename were proposed, max dimensions wins out by default. Thanks, @asmeurer!

@kgryte kgryte added API change Changes to existing functions or objects in the API. topic: Inspection Array API inspection. labels Jul 25, 2024
@kgryte kgryte added this to the v2024 milestone Jul 25, 2024
@kgryte kgryte changed the title Rename "max rank" to "max dimensions" in capabilities() feat!: rename "max rank" to "max dimensions" in capabilities() Jul 25, 2024
@kgryte kgryte merged commit 6bfea7a into data-apis:main Jul 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API change Changes to existing functions or objects in the API. topic: Inspection Array API inspection.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants