commit | ccbe5818af20f8c12043f5c30c277a74714405e0 | [log] [tgz] |
---|---|---|
author | Bernhard M. Wiedemann <githubbmw@lsmod.de> | Wed Jan 24 22:26:18 2018 +0100 |
committer | Brett Cannon <brettcannon@users.noreply.github.com> | Wed Jan 24 13:26:18 2018 -0800 |
tree | 5ca77fca24e3ec927647334dfb5e882560546039 | |
parent | 6f6eb35f9bee18f54945f09664344f2d118ed89f [diff] |
bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200) To support reproducible builds, the setting of of SOURCE_DATE_EPOCH triggers the py_compile module -- and by extension, compileall -- to forcibly compile with hash-based .pyc files. This eliminates the possibility of timestamp-based .pyc files which vary between builds.