[Numpy-discussion] numpy.savez does /not/ compress!?

Pauli Virtanen pav at iki.fi
Tue Jun 8 06:11:28 EDT 2010


ti, 2010-06-08 kello 12:03 +0200, Hans Meine kirjoitti:
> On Tuesday 08 June 2010 11:40:59 Scott Sinclair wrote:
> > The savez docstring should probably be clarified to provide this
> > information.
>
> I would prefer to actually offer compression to the user.  Unfortunately, 
> adding another argument to this function will never be 100% secure, since 
> currently, all kwargs will be saved into the zip, so it could count as 
> behaviour change.

Yep, that's the only question to be resolved. I suppose "compression" is
not so usual as a variable name, so it probably wouldn't break anyone's
code.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list