numpy/numpy — pull request #3465 by charris (2013-06-22 18:26:18+00:00)
Title: BUG: _savez function broken by temporary file size limit.

On Linux systems the _savez function creates temporary files in the
/tmp directory before adding them to the zip archive. Recent Linux
distros have started mounting tmpfs on /tmp and, because tmpfs resides
in memory, file size is limited by memory size. The approach taken here
is to create the temporary files in the current working directory. That
is the default on Windows and should cause no problems on Linux.

The test_big_arrays test in test_npyio.py tests this, allthough it was
not originally intended as a test for this specific problem. It is also
fixed so that the big npz output file is put in the current working
directory.

Closes #3464