summaryrefslogtreecommitdiff
path: root/Lib/json/tool.py
diff options
context:
space:
mode:
authorguoci <zguoci@gmail.com>2018-11-07 04:50:23 -0500
committerSerhiy Storchaka <storchaka@gmail.com>2018-11-07 11:50:23 +0200
commit0e7497cb469b003a45a4abe4105b81ef6d0c4002 (patch)
tree6c14770bf03a79d5e2ce008432309cfbddab858e /Lib/json/tool.py
parentd2b11af91560eaaeb499f702f4b0f244ec756280 (diff)
downloadcpython-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