diff options
author | Max Sperlich <max.sperlich@livingsocial.com> | 2013-12-08 17:57:25 -0500 |
---|---|---|
committer | Max Sperlich <max.sperlich@livingsocial.com> | 2013-12-08 17:57:25 -0500 |
commit | 3ba1d94e0b4f6665a594f5664c706782eda22d6e (patch) | |
tree | 4a8f1d477cdda47a2265d01ddbb108a61c0dedb4 /numpy/lib/arraypad.py | |
parent | 3aa76bac67882f29901640f73cdb1b9d9e0c9029 (diff) | |
download | numpy-3ba1d94e0b4f6665a594f5664c706782eda22d6e.tar.gz |
BUG: fix loading from compressed .npz (Issue 4093)
In Python 2.6.x the number of bytes read from a zip file is 2^16, which
is less than the 2^18 requested by lib.format.py. This change handles
the case where fp.read() returns fewer than the requested number of bytes.
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions