Message326053
| Author |
Elvis.Pranskevichus |
| Recipients |
Elvis.Pranskevichus, doko, mcepl, serhiy.storchaka, thehesiod, vstinner, yan12125 |
| Date |
2018年09月21日.22:49:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1537570150.28.0.956365154283.issue34022@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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. |
|