On 15 Apr 2021, at 14:48, Antoine Pitrou <antoine@python.org> wrote:

On Thu, 15 Apr 2021 14:32:05 +0200
Victor Stinner <vstinner@python.org> wrote:
SOURCE_DATE_EPOCH is not a random variable, but is a *standardised*
environment variable:
https://reproducible-builds.org/docs/source-date-epoch/

Standardized by whom? This is not a POSIX nor Windows standard at
least. Just because a Web page claims it is standardized doesn't mean
that it is.

More and more projects adopted it. As I wrote, the Python stdlib
already uses it in compileall and py_compile modules.

Those are higher-level modules.  Doing it in the gzip module directly
sounds like the wrong place.

I agree. According to the documentation this variable is meant to be used for build tools to accomplish reproducible builds. This should IMHO not affect lower level APIs and libraries that aren’t build related. 

Ronald


Twitter / micro.blog: @ronaldoussoren
Blog: https://blog.ronaldoussoren.net/