New submission from Dave Malcolm <dmalc...@redhat.com>:

I'm attempting to fix up the build in my Fedora/RHEL packages of Python to 
preserve timestamps of .py files as far as possible during the build, so that 
.pyc/.pyo files end up with predictable embedded mtime values and thus 
predictable hashes.

Am attaching a patch to the py3k branch which adds a "-p" option to the 
Tools/script/pathfix.py script, which makes it preserve the mtime of the input 
files.

----------
components: Build
files: pathfix-preserve-timestamps.patch
keywords: needs review, patch
messages: 119092
nosy: dmalcolm
priority: normal
severity: normal
stage: patch review
status: open
title: Tools/scripts/pathfix.py: add option to preserve timestamps
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file19276/pathfix-preserve-timestamps.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10140>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to