[Numpy-discussion] savetxt -> gzip: nondeterministic because of time stamp
robert.kern at gmail.com
Wed Apr 14 17:15:02 EDT 2021
On Wed, Apr 14, 2021 at 4:37 PM Joachim Wuttke <j.wuttke at fz-juelich.de>
> Regarding numpy, I'd propose a bolder measure:
> To let savetxt(fname, X, ...) store exactly the same information in
> compressed and uncompressed files, always invoke gzip with mtime = 0.
> I would like to follow up with a pull request, but I am unable to
> find out how numpy.savetxt is invoking gzip.
`savetxt` uses the abstractions in this module to invoke gzip when the
filename calls for it:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion