This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author WaylandZ
Recipients WaylandZ
Date 2017-08-31.08:15:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When I build python (version 2.7.13), I find the build results are different every time. It seems to be caused by some times tamps, and they may be generated by the code below:
    Lib/ with open(file, 'U') as f:
    Lib/     try:
    Lib/        timestamp = long(os.fstat(f.fileno()).st_mtime)
    Lib/    except AttributeError:
    Lib/        timestamp = long(os.stat(file).st_mtime)
    Lib/   codestring =

As we know, reproducible build is a good way to counter malicious attacks that generate malicious executables, by making it easy to recreate the executable to determine if the result is correct. How can I eliminate the differences caused by the time stamps? Just remove some code? Or is there any configuration?
If we can't eliminate the difference now, can lsof support it in future versions?
Thank you.
Date User Action Args
2017-08-31 08:15:49WaylandZsetrecipients: + WaylandZ
2017-08-31 08:15:49WaylandZsetmessageid: <>
2017-08-31 08:15:49WaylandZlinkissue31312 messages
2017-08-31 08:15:48WaylandZcreate