-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: Move ndarray.dump to python and make it close the file it opens #13684
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
65ac0ee
to
55e8bbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, no need to reinvent python inside C, especially if we end up calling outside anyway.
One unneeded import.
cd0a628
to
c702a30
Compare
@mhvk: Import removed |
The end result is that |
We essentially can, but it results in bypassing However, given we deprecated |
c702a30
to
9f5c7b9
Compare
As a side-effect, this makes it support kwargs.
9f5c7b9
to
87eeb8d
Compare
With the fixed return this looks good to me. Would be nice to have a test for |
We should probably deprecate it at some point. ISTR that that has been mentioned before. |
A test would be nice as long as this is still out there. |
Thanks for adding that @mattip |
Thanks @eric-wieser @mattip. |
Spin off from #12915