15 Apr
2021
15 Apr
'21
10:29 a.m.
On Thu, 15 Apr 2021 11:28:03 +0200 Victor Stinner <vstinner@python.org> wrote:
If gzip is modified to use SOURCE_DATE_EPOCH timestamp, you get a reproducible binary and you don't need to add a new constant ;-) SOURCE_DATE_EPOCH is a timestamp: number of seconds since Unix Epoch (January 1, 1970 at 00:00).
Changing the behaviour of a stdlib module based on an environment variable sounds a bit undesirable. That behaviour can be implemented at a higher-level in application code (for example the tarfile or zipfile command line). Regards Antoine.