[issue10140] Tools/scripts/pathfix.py: add option to preserve timestamps

Dave Malcolm report at bugs.python.org
Tue Oct 19 01:17:00 CEST 2010


New submission from Dave Malcolm <dmalcolm at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10140>
_______________________________________


More information about the Python-bugs-list mailing list