Skip to content

BUG: Ensure like is only stripped for like= dispatched functions#23370

Merged
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
seberg:fixup-like-kwargs
Mar 10, 2023
Merged

BUG: Ensure like is only stripped for like= dispatched functions#23370
charris merged 1 commit intonumpy:maintenance/1.24.xfrom
seberg:fixup-like-kwargs

Conversation

@seberg
Copy link
Copy Markdown
Member

@seberg seberg commented Mar 10, 2023

This issue is already fixed differently on the main (1.25) branch,
an alternative might be to check for functions with **kwargs, there seem
to be three: savez, savez_compressed, and apply_along_axes.

Closes gh-23365


After some back and forth, this seemed like the easiest approach after all. @pentschev what do you think?

This issue is already fixed differently on the main (1.25) branch,
an alternative might be to check for functions with **kwargs, there seem
to be three: savez, savez_compressed, and apply_along_axes.
@pentschev
Copy link
Copy Markdown
Contributor

Provided tests pass, this looks sensible to me. Thanks Sebastian!

Copy link
Copy Markdown
Contributor

@pentschev pentschev left a comment

Choose a reason for hiding this comment

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

Relevant Dask tests seem to pass with this PR as well, so definitely seems good to me.

@charris charris merged commit f14cd44 into numpy:maintenance/1.24.x Mar 10, 2023
@charris
Copy link
Copy Markdown
Member

charris commented Mar 10, 2023

Thanks Sebastian.

@seberg seberg deleted the fixup-like-kwargs branch March 10, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants