Skip to content

Rename get_namespace to array_namespace - #29

Merged
asmeurer merged 2 commits into
data-apis:mainfrom
asmeurer:array_namespace
Mar 10, 2023
Merged

asmeurer merged 2 commits into
data-apis:mainfrom
asmeurer:array_namespace

Conversation

@asmeurer

@asmeurer asmeurer commented Mar 8, 2023

Copy link
Copy Markdown
Member

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

asmeurer commented Mar 8, 2023

Copy link
Copy Markdown
Member Author

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

@asmeurer

Copy link
Copy Markdown
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
Copy Markdown
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

shoyer commented Mar 10, 2023

Copy link
Copy Markdown

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