summaryrefslogtreecommitdiff
path: root/numpy/lib/arraypad.py
diff options
context:
space:
mode:
authorMax Sperlich <max.sperlich@livingsocial.com>2013-12-08 17:57:25 -0500
committerMax Sperlich <max.sperlich@livingsocial.com>2013-12-08 17:57:25 -0500
commit3ba1d94e0b4f6665a594f5664c706782eda22d6e (patch)
tree4a8f1d477cdda47a2265d01ddbb108a61c0dedb4 /numpy/lib/arraypad.py
parent3aa76bac67882f29901640f73cdb1b9d9e0c9029 (diff)
downloadnumpy-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