Message310012
On Jan 15, 2018, at 11:31, Brett Cannon <report@bugs.python.org> wrote: > > 1. SOURCE_DATE_EPOCH acts as an environment variable flag to forcibly generate hash-based .pyc files with the check_source bit set in py_compile and compileall > 2. SOURCE_DATE_EPOCH is used to specifically set the timestamp in .pyc files in py_compile and compileall I’d suggest that if SDE is set to an integer, that is used as the timestamp. If it’s set to a special symbol (e.g. ‘hash’) then the hash is used. I’m not volunteering to write the code though. :) | |
| Date | User | Action | Args | | 2018-01-15 19:41:19 | barry | set | recipients: + barry, brett.cannon, vstinner, eric.smith, benjamin.peterson, eric.araujo, dstufft, yan12125, bmwiedemann, Alexandru Ardelean, Ray Donnelly, eschwartz | | 2018-01-15 19:41:19 | barry | link | issue29708 messages | | 2018-01-15 19:41:19 | barry | create | | |