[New-bugs-announce] [issue10140] Tools/scripts/pathfix.py: add option to preserve timestamps
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.
keywords: needs review, patch
stage: patch review
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>
More information about the New-bugs-announce