diff options
author | guoci <zguoci@gmail.com> | 2018-11-07 04:50:23 -0500 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-07 11:50:23 +0200 |
commit | 0e7497cb469b003a45a4abe4105b81ef6d0c4002 (patch) | |
tree | 6c14770bf03a79d5e2ce008432309cfbddab858e /Lib/json/tool.py | |
parent | d2b11af91560eaaeb499f702f4b0f244ec756280 (diff) | |
download | cpython-git-0e7497cb469b003a45a4abe4105b81ef6d0c4002.tar.gz |
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.
Diffstat (limited to 'Lib/json/tool.py')
0 files changed, 0 insertions, 0 deletions