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

ENH: savez: temporary file alongside with target file and improve exception message upon IOError #7133

Merged
merged 3 commits into from
Feb 9, 2016

Conversation

yarikoptic
Copy link
Contributor

Should fully resolve #5336 -- for output of large files temporary files would be created alongside with target ones, so it would be logical to expect sufficient amount of storage available (unlike under TEMPDIR). Also error message would carry the filename of the tempfile in question which could better direct user toward possible problems on the target partition.

I haven't tested it locally, neither looked into where to provide such a test -- let's see first if travis says Ok. If testing desired -- point to location where to provide one. Cheers!

@yarikoptic
Copy link
Contributor Author

not sure why appveyor tests didn't run, but otherwise -- ready for review ;)

@yarikoptic
Copy link
Contributor Author

bzz bzz -- noone is interested to review/feedback?

@njsmith
Copy link
Member

njsmith commented Feb 9, 2016

LGTM -- Thanks Yaroslav!

njsmith added a commit that referenced this pull request Feb 9, 2016
savez: temporary file alongside with target file and improve exception message upon IOError
@njsmith njsmith merged commit 5531371 into numpy:master Feb 9, 2016
@charris charris changed the title savez: temporary file alongside with target file and improve exception message upon IOError ENH: savez: temporary file alongside with target file and improve exception message upon IOError Nov 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Saving large array fails with savez_compressed() but works with save()
3 participants