[Python-Dev] Deterministic builds of the interpreter
INADA Naoki
songofacandy at gmail.com
Fri Feb 10 06:03:03 EST 2017
On Fri, Feb 10, 2017 at 7:58 PM, Freddy Rietdijk
<freddyrietdijk at fridh.nl> wrote:
> For Python 3.5 PYTHONHASHSEED doesn't seem to be sufficient, these items
> still seem indeterministic.
> To be sure, I ran `PYTHONHASHSEED=1 $out/bin/python -m compileall -f $out`
> where $out is the path where I installed Python.
>
> Do you have an idea why in [3], this is Python 2.7, the timestamps are still
> incorrect? I think they're all required for `compileall` and somehow it
> doesn't seem capable of taking into account DETERMINISTIC_BUILD. Explicitly
> removing those pyc and pyo files and recompiling them to bytecode still
> results in timestamp issues for these 4 files.
Sorry, I have no motivation about Python 2 anymore.
More information about the Python-Dev
mailing list