← 输入框|bugs.python.org|刷新

➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ellaellela
收信人 ellaellela
日期 2022-04-04.17:47:01
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1649094421.3.0.554667285415.issue47216@roundup.psfhosted.org>
In-reply-to
内容
init of class GzipFile has mtime as an optional argument, but open() function does not.

When using open(), mtime will always be set to the current time and so far there was no way of fixing it to a specific timestamp.

In case two people would tar.gz the same file and take its sha, the shas would be different. With an option to fix the mtime, they could have a unique sha.

PR containing code change and the tests is already ready.
历史
日期 用户 动作 参数
2022-04-04 17:47:01ellaellela修改recipients: + ellaellela
2022-04-04 17:47:01ellaellela修改messageid: <1649094421.3.0.554667285415.issue47216@roundup.psfhosted.org>
2022-04-04 17:47:01ellaellela链接issue47216 messages
2022-04-04 17:47:01ellaellela创建