Skip to content

Rename get_namespace to array_namespace #29

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

Merged
merged 2 commits into from
Mar 10, 2023

Conversation

asmeurer
Copy link
Member

@asmeurer asmeurer commented Mar 8, 2023

get_namespace is kept as a backwards compatible wrapper to array_namespace

Making this as a separate PR from #25 as it might be more controversial.

Fixes #19.

get_namespace is maintained as a backwards compatible alias.

Fixes data-apis#19.
@asmeurer
Copy link
Member Author

asmeurer commented Mar 8, 2023

(this is built on #25. The diff should clear once that is merged)

@asmeurer
Copy link
Member Author

Thoughts on this? I want to release the fixes from #25 but if we are going to do this we should do it now.

@rgommers
Copy link
Member

It seems fine to me. Honestly I'm not sure it's that much better a name, but get_namespace is also not a name we've really committed to anywhere. IIRC @shoyer came up with this name for NEP 47, so let's see if he minds this change.

@shoyer
Copy link

shoyer commented Mar 10, 2023

Sounds good to me, too. I don't recall putting much thought into this name.

@asmeurer asmeurer merged commit 2807a6a into data-apis:main Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rename or alias get_namespace to array_namespace
3 participants