[issue25626] Gzip fails for file over 2**32 bytes

2015-11-15 Thread Ben Cipollini
Ben Cipollini added the comment: @Martin: yes, that reproduces the problem. >I think the ideal fix would be to cap the limit at 2**32 - 1 in the zlib >library. If this cap is implemented, is there any workaround how we can efficiently open gzipped files over 4GB? Such files exist, ex

[issue25626] Gzip fails for file over 2**32 bytes

2015-11-14 Thread Ben Cipollini
New submission from Ben Cipollini: Gzip fails when opening a file more than 2**32 bytes. This is a new issue in Python 3.5. We hit this opening large neuroimaging files from the Human Connectome Project. See https://github.com/nipy/nibabel/issues/362 for more details. When size is > 2*