<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1527" rel="nofollow">http://projects.scipy.org/numpy/ticket/1527</a> on 2010-06-29 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sandrotosi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sandrotosi">@sandrotosi</a>, assigned to unknown.</em></p>
<p dir="auto">Hello,<br>
I'm here forwarding the bug filed in the Debian BTS at <a href="http://bugs.debian.org/564774" rel="nofollow">http://bugs.debian.org/564774</a> .</p>
<p dir="auto">The bug refers to 1.3.0 but I'm able to replicate it with 1.4.1 too. The key part is (for the rest, please read the link above):</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import numpy as np
&gt;&gt;&gt; np.savez('test.npz', N.ones((10000, 1000)))
&gt;&gt;&gt; ll -h *.npz
-rw-r--r-- 1 michael michael 77M 2010-01-11 15:52 test.npz
&gt;&gt;&gt; !gzip test.npz
&gt;&gt;&gt; ll -h test*.gz
-rw-r--r-- 1 michael michael 114K 2010-01-11 15:52 test.npz.gz
                             ^^^^"><pre class="notranslate"><code class="notranslate">&gt;&gt;&gt; import numpy as np
&gt;&gt;&gt; np.savez('test.npz', N.ones((10000, 1000)))
&gt;&gt;&gt; ll -h *.npz
-rw-r--r-- 1 michael michael 77M 2010-01-11 15:52 test.npz
&gt;&gt;&gt; !gzip test.npz
&gt;&gt;&gt; ll -h test*.gz
-rw-r--r-- 1 michael michael 114K 2010-01-11 15:52 test.npz.gz
                             ^^^^
</code></pre></div>
<p dir="auto">Thanks for your support,<br>
Sandro</p>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/1354" rel="nofollow">http://projects.scipy.org/numpy/ticket/1354</a> on 2010-01-09 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jpaalasm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jpaalasm">@jpaalasm</a>, assigned to unknown.</em></p>
<p dir="auto">It would be useful if the compression argument for zipfile.!ZipFile could be specified when creating an npz-file.</p>