Message326053
> In particular, if a build system sets SOURCE_DATE_EPOCH without
specifying a pyc format for py_compile or compileall, Python 3.7 will
give you checked hashes by default
Actually, py_compile will _force_ the CHECKED_HASH mode if SOURCE_DATE_EPOCH is set, regardless of what you specified for py_compile or compileall. I'm not sure if that's actually intended or a bug.
The fix for the tests is to actually be aware of py_compile behavior and control for SOURCE_DATE_EPOCH. I submitted a PR with a fix. |
|
| Date |
User |
Action |
Args |
| 2018-09-21 22:49:10 | Elvis.Pranskevichus | set | recipients:
+ Elvis.Pranskevichus, doko, vstinner, mcepl, serhiy.storchaka, thehesiod, yan12125 |
| 2018-09-21 22:49:10 | Elvis.Pranskevichus | set | messageid: <[email protected]> |
| 2018-09-21 22:49:10 | Elvis.Pranskevichus | link | issue34022 messages |
| 2018-09-21 22:49:10 | Elvis.Pranskevichus | create | |
|