commit | 0e7497cb469b003a45a4abe4105b81ef6d0c4002 | [log] [tgz] |
---|---|---|
author | guoci <zguoci@gmail.com> | Wed Nov 07 04:50:23 2018 -0500 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Wed Nov 07 11:50:23 2018 +0200 |
tree | 6c14770bf03a79d5e2ce008432309cfbddab858e | |
parent | d2b11af91560eaaeb499f702f4b0f244ec756280 [diff] |
bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704) Without setting mtime, time.time() will be used as the timestamp which will end up in the compressed data and each invocation of the compress() function will vary over time.